How to use Git with Visual Studio 2022 (Step by step)

Поділитися
Вставка
  • Опубліковано 11 лют 2025

КОМЕНТАРІ • 96

  • @TechWithPat
    @TechWithPat  3 роки тому +21

    TIMESTAMPS :
    00:00 Intro
    00:51 Create a GIT repository
    02:06 Create a branch
    03:00 Save changes
    05:07 Combine multiple commits into one.
    06:24 Modify the last commit
    07:35 Push to a remote repository
    08:18 Fetch, pull from the remote repository
    09:15 Sync
    10:07 Merge
    11:00 Check-pick
    11:54 Revert
    12:36 Reset
    13:22 Resolve merge conflicts
    14:50 Outro

  • @SeshendraAchari
    @SeshendraAchari 3 місяці тому

    Thanks for video, clear and straight

  • @VitaeDiscimus
    @VitaeDiscimus Місяць тому

    Best guide, thx!

  • @RicardoSantos-dp9fp
    @RicardoSantos-dp9fp 3 місяці тому

    Thanks

  • @TixonLucojanov
    @TixonLucojanov 2 роки тому

    Thanks! 👍from Russia!

  • @RasikaSamith-y4y
    @RasikaSamith-y4y 3 місяці тому

    Really good. Thanks Bro !!!

  • @jayamalaraut273
    @jayamalaraut273 11 місяців тому

    Very helpful, Thank you!

  • @liz.1328
    @liz.1328 Рік тому

    Great tutorial!

  • @samirfighter1213
    @samirfighter1213 2 роки тому

    Thnx for this tutorial

  • @kvelez
    @kvelez 9 місяців тому

    Excellent.

  • @frodechu4547
    @frodechu4547 3 місяці тому

    good job

  • @longbeachboy57
    @longbeachboy57 11 місяців тому +1

    The best explanation of Git so far... Thanks!

  • @KingKrubba
    @KingKrubba 10 місяців тому

    fantastic video

  • @ShatabdaRoy
    @ShatabdaRoy Рік тому

    Very in-depth tut, I like it.

  • @komando005
    @komando005 Рік тому

    Bro you are a true legend ❤

  • @junglemike4
    @junglemike4 11 місяців тому

    Thanks. That was very informative.

  • @kavipritha9669
    @kavipritha9669 Рік тому

    Thank u for helping me figure out things with git vs22.❤

  • @Kariim_Atef
    @Kariim_Atef Рік тому

    ty

  • @thegooddoctor6719
    @thegooddoctor6719 Рік тому

    Very informative video - thank you !!!!!!!!!

  • @mohiuddinansari9356
    @mohiuddinansari9356 Рік тому

    To the point and well explained.. Thanks you !!

  • @jamesigoe
    @jamesigoe 4 місяці тому

    Thank you for this exceptionally clear and digestible demo.

  • @hanswelder
    @hanswelder Рік тому

    Great explanatory stuff!

  • @mozhdehdashti1839
    @mozhdehdashti1839 Рік тому

    simple practical explanation using VS , thanks

  • @TheGuideToIslam
    @TheGuideToIslam Рік тому

    Clearly explained to the point.

  • @leblancthierry8781
    @leblancthierry8781 Рік тому

    thank you for this course, the best I've seen to explain git and visual studio. You are a very good teacher. Thierry from Belgium.

  • @kidoo1567
    @kidoo1567 Рік тому

    Super

  • @Zabideen97
    @Zabideen97 2 роки тому

    I been looking for video like this. This is the best video. Thanks

  • @MrPatrichon
    @MrPatrichon 10 місяців тому

    This tutorial did it for me! Thanks a lot!

  • @wolfgang999
    @wolfgang999 2 роки тому

    nice , thank you very much man :D

  • @PapaBigDoinks
    @PapaBigDoinks Рік тому

    You're a fucking legend. This is the most comprehensive and straight forward tutorial I have seen on using Git in Visual Studio. It really helped me! Thank you :)

  • @Jake-lu6pt
    @Jake-lu6pt 11 місяців тому

    Thanks for sharing Pat!! Very useful tutorial

  • @crazyvideogames101
    @crazyvideogames101 2 роки тому

    Thanks very helpful video

  • @dowhiletrue6687
    @dowhiletrue6687 Рік тому

    Outstanding training video!

  • @marektichy3926
    @marektichy3926 2 роки тому

    Great guide to get started...thanks!

  • @mickelodiansurname9578
    @mickelodiansurname9578 Рік тому +10

    why have you not got half a million subscribers? Clear, concise, on point, easy to understand, no tangents... 5 stars.

    • @dhruvsingh9
      @dhruvsingh9 Рік тому

      Indeed. He is pretty good. Dude please share your linkedin profile. If you don't have please create it

  • @tbuc76
    @tbuc76 2 роки тому

    Best video in the subject in YT. Well done!

  • @ChaosRider726
    @ChaosRider726 Рік тому

    really good! short and to the point!

  • @philchadwick9470
    @philchadwick9470 Рік тому

    At last someone who knows how to explain things! Now I can use GIT. Thank you.

  • @CarrigansGuitarClub
    @CarrigansGuitarClub 2 роки тому

    Excellent

  • @jjque322
    @jjque322 2 роки тому

    Excellent!!!!

  • @harikrishnank3945
    @harikrishnank3945 2 роки тому

    TNice tutorialS IS WHAT I NEEDED BRO, thank you for taking the ti and doing tNice tutorials for most of that are starting with tNice tutorials beautiful tNice tutorialng called

  • @saadablat2998
    @saadablat2998 Рік тому

    You are a great teacher! Thank you ❤

  • @yatendradeshmukh8110
    @yatendradeshmukh8110 3 роки тому +1

    Excellent...you covered All

  • @TarunMishra3180
    @TarunMishra3180 2 роки тому

    Amazing Video! Keep it up!!

  • @JamesGrieco
    @JamesGrieco 2 роки тому

    Thank you for the tutorial.

  • @firasnizam
    @firasnizam 3 роки тому

    thanks for great video

  • @sumedha7
    @sumedha7 2 роки тому

    Great video.. clearly explains most wanted

  • @JD-lx3cx
    @JD-lx3cx 3 роки тому +1

    Nice. Thank you for sharing!

  • @praveenkumar-pt1xg
    @praveenkumar-pt1xg 3 роки тому +1

    Great Tutorial . Thanks for helping me

  • @vigneshwarilango7866
    @vigneshwarilango7866 2 роки тому

    Good one

  • @mohanaPriya-wr1lf
    @mohanaPriya-wr1lf Рік тому

    Clicking on create repository in VS2022 doesn't show up the dialogue box😢

  • @P0K0
    @P0K0 2 роки тому

    This is helpful , keep it up 🔥

  • @chris_lynch
    @chris_lynch 2 роки тому

    Best git video I have seen, very clearly explained

  • @bryankelly3002
    @bryankelly3002 2 роки тому

    At time 2:20, or about, the video starts with creating a new branch. But I don't yet have anything loaded into Git.
    And, why is the screen a black background? None of my versions of VS have had black backgrounds. It is quite difficult to view.

  • @oortcloud210
    @oortcloud210 Рік тому

    What a great tutorial - clear and concise, with absolutely no waffle. I just wanted a quick refresher on using GIT in VS and this is perfect. Thank you!

  • @ovilalta
    @ovilalta 2 роки тому

    Mil gracias!!!! Excelente explicación

  • @ВениславЗдравков

    I am very happy, that I found this tutorial. I am not new to git, but for first time I need to use it with Visual Studio. In 15 minutes you explain everything, which somebody needs to work in commercial project. Just magnificent! Great explanation and time saving! Thanks!

  • @codie12
    @codie12 Рік тому

    Pure gold! This is the first time I've used Git with Visual Studio for C# projects, and you got me into it really quickly. If I had to do it in Visual Studio Code, I would have to install extensions and usually get used to the command line in order to interact with Git.

  • @shivakumar7578
    @shivakumar7578 2 роки тому

    very informative video. Thank you

  • @SzpkRomana
    @SzpkRomana 3 роки тому

    will be helpfull

  • @thaophuong8100
    @thaophuong8100 2 роки тому +7

    I wish I have found your video sooner after spending 3 hours looking for ways to use git with VS 2022. Thank you a lot for your clear clarification!

  • @TheCyberhacker01
    @TheCyberhacker01 2 роки тому +1

    Very easy to understand. Thanks for this demo

  • @EvreythingIsALie
    @EvreythingIsALie 2 роки тому +1

    Very helpful/clean explanation - thank you so much!

  • @rawanmalaeb6916
    @rawanmalaeb6916 3 роки тому +1

    Extremely helpful, thank you!

  • @ThorStore
    @ThorStore 2 роки тому

    How do I add an existing solution to the git repository??

  • @lazarnikolovski7571
    @lazarnikolovski7571 Рік тому

    Thank you Sir!! I can't explain how much I appreciate tutorials like this. Short and straight to the point. Much appreciation to you!

  • @iCore7Gaming
    @iCore7Gaming 2 роки тому

    Why do i not have the Git menu in VS 2022??

  • @nolascop3547
    @nolascop3547 2 роки тому +2

    amazing video.
    You explained everything really well in details, with a calm clear voice.
    thank you so much my man

  • @antonmariadas7747
    @antonmariadas7747 3 роки тому

    Top. Merci Pat.

  • @kalbasa195
    @kalbasa195 2 роки тому +1

    Спасибо дядя, всё понятно и произношение, даже переводить мне не пришлось

  • @primavera919
    @primavera919 2 роки тому

    Hello, thanks for sharing.
    I have no option to merge to master on visual studio 2022, nothing appear when I right-click, please help

  • @osr2004snd
    @osr2004snd 5 місяців тому

    Super!, really straightforward. I never go explicit when I find here what I need, but there it goes: This was genius!
    Make a 2nd part maybe longer explaining details but keep the same format. You won a follower and an evangelist. Good work!

  • @kellybmackenzie
    @kellybmackenzie 2 роки тому

    Thank you so much, this helped me a lot!! You're an awesome teacher!!

  • @赛尼木
    @赛尼木 4 місяці тому

    I can not understand yours until I come back from Udemy.

  • @embossCoder
    @embossCoder 2 роки тому

    im still have questions. when i modified the branch, before committed it i must make sure my changing code has worked right? i dont know u guys, but i usually run it first and see the result of my changes. the problem is i always get error message. would u guys tell me how to do it, or am i doing it wrong, and i didnt see you run your code after changes. please, help me. thanks

  • @valijoneshniyazov
    @valijoneshniyazov 3 роки тому +1

    Really liked this video
    or
    after so many tutorials at this point I understand git
    Just kidding. Neither too deep nor very high level. this one is perfect!

  • @pogo4524
    @pogo4524 3 роки тому +32

    You are really a talented teacher, I liked that you used simple terms, examples, and timestamps for each step, easy to follow what you are doing.
    Please don't stop creating in these formats, you do really contribute to the programming community with these videos.
    Subbed and liked 👍

  • @wonkanese
    @wonkanese Рік тому

    my git doesnt detect changes to my code

  • @quicktastic
    @quicktastic 2 роки тому

    Wow. Covered a lot of ground in a short period of time and did it well. Thank you!

  • @guillermodanielmazzarigiov1768
    @guillermodanielmazzarigiov1768 2 роки тому

    Thank you very much, I'm moving from vs code to visual studio and this was extremely useful for me

  • @lovol2
    @lovol2 2 роки тому

    Probably the best and most clear and quick explanation of common activities, thank you.

  • @Microdisnee
    @Microdisnee Рік тому +2

    This is hands down one of the most succinct and well laid out tutorials I have seen on YT. Like others have stated the explanations are clear and to the point with no extra fill. I would love to see you do a real world branching strategy/workflow using VS. Thank you for the contribution.

  • @devidsuu
    @devidsuu Рік тому

    I think i just merged local branch into dev, lets see what happens

  • @jamesdaniels6134
    @jamesdaniels6134 2 роки тому

    When I created/connected to a git repo everything worked (I could do the initial push), but it wouldn't let me add any of my files. I had to into the folder on Windows Explorer, then open my Command Prompt and enter "git add ." (etc) manually. Can anyone tell me what I did wrong or how to fix?

  • @ossamaettahery3286
    @ossamaettahery3286 Рік тому

    Clean, nice and simple.
    Even a kid that has never touched code in his life might fully understand this video.
    Thanks a lot man, this was extremly helpful! Keep it up with good work! 💪

  • @Kariim_Atef
    @Kariim_Atef Рік тому

    gl

  • @ut4321
    @ut4321 2 роки тому

    EXCELLENT intro video to using git with Visual Studio! Thank you SO much for publishing this! Keep up the good work, sir.

  • @Usammityduzntafraidofanythin
    @Usammityduzntafraidofanythin 3 роки тому

    Do you have to 'commit all' when committing changes? Is there a way to commit only one or select number of files?

    • @TechWithPat
      @TechWithPat  2 роки тому +1

      No, you don't have to. In the Git changes window, you can stage a file with the + (plus) button, to commit all staged files, you click on the "Commit staged" button.

  • @jamesscott6864
    @jamesscott6864 2 роки тому

    Hi, how can i undo a revert ?

  • @primavera919
    @primavera919 2 роки тому

    I am still confused about what is "stage"? How does that translates to Git commands?

  • @primavera919
    @primavera919 2 роки тому

    The right click on the items in "Manage Branches" does not work, it doesn't show the option to merge branches.

  • @Kariim_Atef
    @Kariim_Atef Рік тому

    ku