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

Поделиться
HTML-код
  • Опубликовано: 14 июл 2024
  • How to use Git with Visual Studio.
    In this video, I'm going to show you how to use Git with Visual Studio 2022.
    Buy me a coffee: www.buymeacoffee.com/itsmepat...
    Subscribe: ruclips.net/user/TechWithPat...
    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
    Where you can find me:
    💻 Github: github.com/techwithpat
    🌐 Website: www.techwithpat.com
    🕴️ LinkedIn: / patrick-tshibanda-4310...
    #gitwithvisualstudio #visualstudio #git

Комментарии • 88

  • @TechWithPat
    @TechWithPat  2 года назад +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 8 месяцев назад +3

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

    • @dhruvsingh9
      @dhruvsingh9 6 месяцев назад

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

  • @pogo4524
    @pogo4524 2 года назад +27

    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 года назад +5

    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!

  • @user-wj5qd5fy1n
    @user-wj5qd5fy1n Год назад +2

    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!

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

  • @oortcloud210
    @oortcloud210 8 месяцев назад

    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!

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

  • @lazarnikolovski7571
    @lazarnikolovski7571 9 месяцев назад

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

  • @longbeachboy57
    @longbeachboy57 3 месяца назад +1

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

  • @lovol2
    @lovol2 Год назад

    Probably the best and most clear and quick explanation of common activities, 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

  • @codie12
    @codie12 9 месяцев назад

    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.

  • @ossamaettahery3286
    @ossamaettahery3286 11 месяцев назад

    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 7 месяцев назад

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

  • @yossfish
    @yossfish Год назад +1

    Very helpful/clean explanation - thank you so much!

  • @quicktastic
    @quicktastic 2 года назад

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

  • @MrPatrichon
    @MrPatrichon 3 месяца назад

    This tutorial did it for me! Thanks a lot!

  • @leblancthierry8781
    @leblancthierry8781 9 месяцев назад

    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.

  • @TheCyberhacker01
    @TheCyberhacker01 2 года назад +1

    Very easy to understand. Thanks for this demo

  • @tbuc76
    @tbuc76 Год назад

    Best video in the subject in YT. Well done!

  • @rawanmalaeb6916
    @rawanmalaeb6916 2 года назад +1

    Extremely helpful, 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

  • @kalbasa195
    @kalbasa195 Год назад +1

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

  • @mohiuddinansari9356
    @mohiuddinansari9356 5 месяцев назад

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

  • @Zabideen97
    @Zabideen97 Год назад

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

  • @chris_lynch
    @chris_lynch 2 года назад

    Best git video I have seen, very clearly explained

  • @mozhdehdashti1839
    @mozhdehdashti1839 8 месяцев назад

    simple practical explanation using VS , thanks

  • @kellybmackenzie
    @kellybmackenzie 2 года назад

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

  • @ChaosRider726
    @ChaosRider726 Год назад

    really good! short and to the point!

  • @Jake-lu6pt
    @Jake-lu6pt 4 месяца назад

    Thanks for sharing Pat!! Very useful tutorial

  • @junglemike4
    @junglemike4 4 месяца назад

    Thanks. That was very informative.

  • @saadablat2998
    @saadablat2998 Год назад

    You are a great teacher! Thank you ❤

  • @ShatabdaRoy
    @ShatabdaRoy 10 месяцев назад

    Very in-depth tut, I like it.

  • @praveenkumar-pt1xg
    @praveenkumar-pt1xg 2 года назад +1

    Great Tutorial . Thanks for helping me

  • @ovilalta
    @ovilalta Год назад

    Mil gracias!!!! Excelente explicación

  • @jayamalaraut273
    @jayamalaraut273 4 месяца назад

    Very helpful, Thank you!

  • @thegooddoctor6719
    @thegooddoctor6719 9 месяцев назад

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

  • @JD-lx3cx
    @JD-lx3cx 2 года назад +1

    Nice. Thank you for sharing!

  • @PapaBigDoinks
    @PapaBigDoinks 9 месяцев назад

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

  • @TheGuideToIslam
    @TheGuideToIslam Год назад

    Clearly explained to the point.

  • @marektichy3926
    @marektichy3926 Год назад

    Great guide to get started...thanks!

  • @kavipritha9669
    @kavipritha9669 5 месяцев назад

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

  • @samirfighter1213
    @samirfighter1213 Год назад

    Thnx for this tutorial

  • @sumedha7
    @sumedha7 Год назад

    Great video.. clearly explains most wanted

  • @yatendradeshmukh8110
    @yatendradeshmukh8110 2 года назад +1

    Excellent...you covered All

  • @hanswelder
    @hanswelder Год назад

    Great explanatory stuff!

  • @liz.1328
    @liz.1328 10 месяцев назад

    Great tutorial!

  • @dowhiletrue6687
    @dowhiletrue6687 Год назад

    Outstanding training video!

  • @TarunMishra3180
    @TarunMishra3180 2 года назад

    Amazing Video! Keep it up!!

  • @antonmariadas7747
    @antonmariadas7747 2 года назад

    Top. Merci Pat.

  • @JamesGrieco
    @JamesGrieco 2 года назад

    Thank you for the tutorial.

  • @P0K0
    @P0K0 2 года назад

    This is helpful , keep it up 🔥

  • @komando005
    @komando005 10 месяцев назад

    Bro you are a true legend ❤

  • @kvelez
    @kvelez 2 месяца назад

    Excellent.

  • @wolfgang999
    @wolfgang999 Год назад

    nice , thank you very much man :D

  • @valijoneshniyazov
    @valijoneshniyazov 2 года назад +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!

  • @KingKrubba
    @KingKrubba 3 месяца назад

    fantastic video

  • @shivakumar7578
    @shivakumar7578 2 года назад

    very informative video. Thank you

  • @harikrishnank3945
    @harikrishnank3945 Год назад

    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

  • @jjque322
    @jjque322 2 года назад

    Excellent!!!!

  • @firasnizam
    @firasnizam 2 года назад

    thanks for great video

  • @TixonLucojanov
    @TixonLucojanov Год назад

    Thanks! 👍from Russia!

  • @crazyvideogames101
    @crazyvideogames101 2 года назад

    Thanks very helpful video

  • @CarrigansGuitarClub
    @CarrigansGuitarClub 2 года назад

    Excellent

  • @Kariim_Atef
    @Kariim_Atef 5 месяцев назад

    ty

  • @vigneshwarilango7866
    @vigneshwarilango7866 2 года назад

    Good one

  • @kidoo1567
    @kidoo1567 Год назад

    Super

  • @Szopakleks
    @Szopakleks 2 года назад

    will be helpfull

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

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

  • @iCore7Gaming
    @iCore7Gaming Год назад

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

  • @embossCoder
    @embossCoder Год назад

    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

  • @ThorStore
    @ThorStore Год назад

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

  • @bryankelly3002
    @bryankelly3002 Год назад

    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.

  • @jamesscott6864
    @jamesscott6864 2 года назад

    Hi, how can i undo a revert ?

  • @Kariim_Atef
    @Kariim_Atef 5 месяцев назад

    gl

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

  • @mohanaPriya-wr1lf
    @mohanaPriya-wr1lf Год назад

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

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

  • @wonkanese
    @wonkanese Год назад

    my git doesnt detect changes to my code

  • @devidsuu
    @devidsuu Год назад

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

  • @Kariim_Atef
    @Kariim_Atef 5 месяцев назад

    ku