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

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 96

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

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

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

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

    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!

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

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

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

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

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

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

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

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

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

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

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

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

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

    Thanks for video, clear and straight

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

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

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

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

    This tutorial did it for me! Thanks a lot!

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

    Thanks for sharing Pat!! Very useful tutorial

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

    Very in-depth tut, I like it.

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

    Very helpful/clean explanation - thank you so much!

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

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

    Best git video I have seen, very clearly explained

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

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

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

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

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

    simple practical explanation using VS , thanks

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

    Really good. Thanks Bro !!!

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

    Great Tutorial . Thanks for helping me

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

    Thanks! 👍from Russia!

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

    really good! short and to the point!

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

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

    Thanks. That was very informative.

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

    fantastic video

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

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

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

    Clearly explained to the point.

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

    Bro you are a true legend ❤

  • @VitaeDiscimus
    @VitaeDiscimus 8 днів тому

    Best guide, thx!

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

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

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

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

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

    You are a great teacher! Thank you ❤

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

    Great guide to get started...thanks!

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

    Very helpful, Thank you!

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

    Extremely helpful, thank you!

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

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

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

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

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

    Amazing Video! Keep it up!!

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

    Outstanding training video!

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

    Great explanatory stuff!

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

    Great video.. clearly explains most wanted

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

    Nice. Thank you for sharing!

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

    Excellent...you covered All

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

    Thnx for this tutorial

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

    Thank you for the tutorial.

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

    nice , thank you very much man :D

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

    Great tutorial!

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

    Mil gracias!!!! Excelente explicación

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

    This is helpful , keep it up 🔥

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

    Top. Merci Pat.

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

    very informative video. Thank you

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

    Excellent!!!!

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

    Excellent.

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

    Thanks very helpful video

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

    thanks for great video

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

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

    Thanks

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

    good job

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

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

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

    Excellent

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

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

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

    Good one

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

    ty

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

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

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

    Super

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

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

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

    my git doesnt detect changes to my code

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

    will be helpfull

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

    Hi, how can i undo a revert ?

  • @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 роки тому

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

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

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

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

    gl

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

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

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

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

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

    ku