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

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ม.ค. 2025

ความคิดเห็น •

  • @TechWithPat
    @TechWithPat  3 ปีที่แล้ว +20

    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

  • @mickelodiansurname9578
    @mickelodiansurname9578 ปีที่แล้ว +9

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

    • @dhruvsingh9
      @dhruvsingh9 11 หลายเดือนก่อน

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

  • @pogo4524
    @pogo4524 2 ปีที่แล้ว +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 👍

  • @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!

  • @ВениславЗдравков
    @ВениславЗдравков ปีที่แล้ว +3

    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!

  • @longbeachboy57
    @longbeachboy57 9 หลายเดือนก่อน +1

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

  • @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.

  • @osr2004snd
    @osr2004snd 4 หลายเดือนก่อน

    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!

  • @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! 💪

  • @philchadwick9470
    @philchadwick9470 ปีที่แล้ว

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

  • @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.

  • @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!

  • @nolascop3547
    @nolascop3547 ปีที่แล้ว +2

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

  • @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!

  • @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.

  • @jamesigoe
    @jamesigoe 3 หลายเดือนก่อน

    Thank you for this exceptionally clear and digestible demo.

  • @kalbasa195
    @kalbasa195 2 ปีที่แล้ว +1

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

  • @Zabideen97
    @Zabideen97 2 ปีที่แล้ว

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

  • @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 :)

  • @tbuc76
    @tbuc76 ปีที่แล้ว

    Best video in the subject in YT. Well done!

  • @lovol2
    @lovol2 2 ปีที่แล้ว

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

  • @TheCyberhacker01
    @TheCyberhacker01 2 ปีที่แล้ว +1

    Very easy to understand. Thanks for this demo

  • @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.

  • @EvreythingIsALie
    @EvreythingIsALie 2 ปีที่แล้ว +1

    Very helpful/clean explanation - thank you so much!

  • @ShatabdaRoy
    @ShatabdaRoy ปีที่แล้ว

    Very in-depth tut, I like it.

  • @chris_lynch
    @chris_lynch 2 ปีที่แล้ว

    Best git video I have seen, very clearly explained

  • @MrPatrichon
    @MrPatrichon 9 หลายเดือนก่อน

    This tutorial did it for me! Thanks a lot!

  • @Jake-lu6pt
    @Jake-lu6pt 9 หลายเดือนก่อน

    Thanks for sharing Pat!! Very useful tutorial

  • @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!

  • @SeshendraAchari
    @SeshendraAchari 2 หลายเดือนก่อน

    Thanks for video, clear and straight

  • @TheGuideToIslam
    @TheGuideToIslam ปีที่แล้ว

    Clearly explained to the point.

  • @praveenkumar-pt1xg
    @praveenkumar-pt1xg 2 ปีที่แล้ว +1

    Great Tutorial . Thanks for helping me

  • @mohiuddinansari9356
    @mohiuddinansari9356 11 หลายเดือนก่อน

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

  • @mozhdehdashti1839
    @mozhdehdashti1839 ปีที่แล้ว

    simple practical explanation using VS , thanks

  • @ChaosRider726
    @ChaosRider726 ปีที่แล้ว

    really good! short and to the point!

  • @komando005
    @komando005 ปีที่แล้ว

    Bro you are a true legend ❤

  • @guillermodanielmazzarigiov1768
    @guillermodanielmazzarigiov1768 2 ปีที่แล้ว

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

  • @saadablat2998
    @saadablat2998 ปีที่แล้ว

    You are a great teacher! Thank you ❤

  • @thegooddoctor6719
    @thegooddoctor6719 ปีที่แล้ว

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

  • @junglemike4
    @junglemike4 10 หลายเดือนก่อน

    Thanks. That was very informative.

  • @RasikaSamith-y4y
    @RasikaSamith-y4y 2 หลายเดือนก่อน

    Really good. Thanks Bro !!!

  • @marektichy3926
    @marektichy3926 ปีที่แล้ว

    Great guide to get started...thanks!

  • @VitaeDiscimus
    @VitaeDiscimus 11 วันที่ผ่านมา

    Best guide, thx!

  • @rawanmalaeb6916
    @rawanmalaeb6916 2 ปีที่แล้ว +1

    Extremely helpful, thank you!

  • @TixonLucojanov
    @TixonLucojanov ปีที่แล้ว

    Thanks! 👍from Russia!

  • @dowhiletrue6687
    @dowhiletrue6687 ปีที่แล้ว

    Outstanding training video!

  • @yatendradeshmukh8110
    @yatendradeshmukh8110 3 ปีที่แล้ว +1

    Excellent...you covered All

  • @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

  • @quicktastic
    @quicktastic 2 ปีที่แล้ว

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

  • @KingKrubba
    @KingKrubba 8 หลายเดือนก่อน

    fantastic video

  • @TarunMishra3180
    @TarunMishra3180 2 ปีที่แล้ว

    Amazing Video! Keep it up!!

  • @kellybmackenzie
    @kellybmackenzie 2 ปีที่แล้ว

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

  • @jayamalaraut273
    @jayamalaraut273 9 หลายเดือนก่อน

    Very helpful, Thank you!

  • @hanswelder
    @hanswelder ปีที่แล้ว

    Great explanatory stuff!

  • @JD-lx3cx
    @JD-lx3cx 3 ปีที่แล้ว +1

    Nice. Thank you for sharing!

  • @kavipritha9669
    @kavipritha9669 10 หลายเดือนก่อน

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

  • @sumedha7
    @sumedha7 2 ปีที่แล้ว

    Great video.. clearly explains most wanted

  • @samirfighter1213
    @samirfighter1213 ปีที่แล้ว

    Thnx for this tutorial

  • @liz.1328
    @liz.1328 ปีที่แล้ว

    Great tutorial!

  • @ovilalta
    @ovilalta 2 ปีที่แล้ว

    Mil gracias!!!! Excelente explicación

  • @P0K0
    @P0K0 2 ปีที่แล้ว

    This is helpful , keep it up 🔥

  • @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.

  • @JamesGrieco
    @JamesGrieco 2 ปีที่แล้ว

    Thank you for the tutorial.

  • @antonmariadas7747
    @antonmariadas7747 3 ปีที่แล้ว

    Top. Merci Pat.

  • @shivakumar7578
    @shivakumar7578 2 ปีที่แล้ว

    very informative video. Thank you

  • @wolfgang999
    @wolfgang999 2 ปีที่แล้ว

    nice , thank you very much man :D

  • @kvelez
    @kvelez 7 หลายเดือนก่อน

    Excellent.

  • @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

  • @jjque322
    @jjque322 2 ปีที่แล้ว

    Excellent!!!!

  • @iCore7Gaming
    @iCore7Gaming ปีที่แล้ว

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

  • @ThorStore
    @ThorStore 2 ปีที่แล้ว

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

  • @crazyvideogames101
    @crazyvideogames101 2 ปีที่แล้ว

    Thanks very helpful video

  • @firasnizam
    @firasnizam 3 ปีที่แล้ว

    thanks for great video

  • @mohanaPriya-wr1lf
    @mohanaPriya-wr1lf ปีที่แล้ว

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

  • @Usammityduzntafraidofanythin
    @Usammityduzntafraidofanythin 2 ปีที่แล้ว

    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.

  • @frodechu4547
    @frodechu4547 หลายเดือนก่อน

    good job

  • @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

  • @primavera919
    @primavera919 2 ปีที่แล้ว

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

  • @RicardoSantos-dp9fp
    @RicardoSantos-dp9fp หลายเดือนก่อน

    Thanks

  • @CarrigansGuitarClub
    @CarrigansGuitarClub 2 ปีที่แล้ว

    Excellent

  • @jamesscott6864
    @jamesscott6864 2 ปีที่แล้ว

    Hi, how can i undo a revert ?

  • @wonkanese
    @wonkanese ปีที่แล้ว

    my git doesnt detect changes to my code

  • @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?

  • @primavera919
    @primavera919 2 ปีที่แล้ว

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

  • @vigneshwarilango7866
    @vigneshwarilango7866 2 ปีที่แล้ว

    Good one

  • @kidoo1567
    @kidoo1567 ปีที่แล้ว

    Super

  • @SzpkRomana
    @SzpkRomana 2 ปีที่แล้ว

    will be helpfull

  • @Kariim_Atef
    @Kariim_Atef 11 หลายเดือนก่อน

    ty

  • @devidsuu
    @devidsuu ปีที่แล้ว

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

  • @Kariim_Atef
    @Kariim_Atef 11 หลายเดือนก่อน

    gl

  • @赛尼木
    @赛尼木 2 หลายเดือนก่อน

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

  • @Kariim_Atef
    @Kariim_Atef 11 หลายเดือนก่อน

    ku