Learn the new GitHub user experience in Visual Studio 2019

Sdílet
Vložit
  • čas přidán 27. 07. 2024
  • Visual Studio 2019 new GitHub User Experience
    In this video, I show you how to use the new GitHub User Experience with Visual Studio 2019. You will learn how to create a new project on your computer and publish it to GitHub, then you will learn how to update code. If you watched the first Git User Experience video, skip to 7:00.
    First video: Learn the new Visual Studio 2019 Git (not GitHub) experience
    • Learn the new Git User...
    Sign up for GitHub
    github.com
    Download Git
    git-scm.com
    00:00 Intro
    00:10 List of chapters in this video
    00:34 Add Git features to Visual Studio 2019
    01:39 Create a GitHub account
    01:53 Download Git
    02:20 About branching, master, and main
    03:52 Set the default branch name
    05:53 Configure Visual Studio 2019
    07:00 Create a new project
    8:50 Push your project to GitHub
    16:12 Make a change locally and push to GitHub (push to remote)
    20:21 Merge branches in Visual Studio 2019
    22:24 Modify code in GitHub & Fetch in Visual Studio 2019
    27:19 Clone your repo from GitHub
    28:59 Clone your own code from GitHub to a local repo
    34:15 Clone someone else’s code from GitHub to a local repo
    38:13 Wrap up
  • Věda a technologie

Komentáře • 96

  • @kevinrambo
    @kevinrambo Před 2 lety +5

    Not only do you explain things very well, you are also a fluent speaker who doesn’t rely on disfluencies (i.e. - “um”, “uh”, “like” and “ya know”). Very pleasant to listen to. Keep up the good work!

    • @bill-raymond
      @bill-raymond  Před 2 lety +1

      Thank you very much! Part of my warmup before creating a video is to take a few deep breaths and speak out loud: "no ums, no ahs, make no assumptions about the person watching the video". It is sort of like a little meditation

  • @OzwaaldEmpire
    @OzwaaldEmpire Před 3 lety +6

    Thank you, Bill! Great explanation, very calm voice. It is a very comfortable atmosphere to listen and learn something new.

  • @MrLPMT
    @MrLPMT Před 3 lety +4

    Once again - just brilliant!
    Keep up the interesting work.
    Thanks!

  • @drambooi7169
    @drambooi7169 Před 3 lety +1

    I went through both videos and took tons of notes/screenshots. I have learned a ton, I appreciate the work you put in to this and the clear explanations.

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      Thank you very much! I am glad you learned from the videos!

  • @adamreuter5055
    @adamreuter5055 Před 3 lety +3

    These two videos were extremely useful to me in learning the Git and GitHub functionality in Visual Studio. I am really looking forward to the upcoming video mentioned here covering GitHub Collaboration Workflow.

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Great, thank you! I am hoping to wrap it up this week

  • @PeleshokOleg
    @PeleshokOleg Před 3 lety +2

    Excellent quality video that described exactly what I was looking for. Subscribed. Thank you Bill !

  • @bozidarbralic1937
    @bozidarbralic1937 Před 3 lety +3

    Thank you Bill for these two videos, very valuable. Really needed to learn how to work with Git / GH from VS and these two covered all the important bits without a doubt.
    That being said still deciding to keep with Git Bash CLI, but this is a must to know as a .NET Dev.

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      It really comes down to what you are trying to do. If you follow a basic pattern of branch->commit->merge, then the Visual Studio 2019 interface should be just fine. If your workflow gets more complex than that, then the command line might be a better fit. I like the idea of doing everything from the UI to reduce context switching

  • @nirajjoshi9147
    @nirajjoshi9147 Před 3 lety +1

    Thank you Bill, one of the best video available on internet today. I appreciate your hard work and presentation. Will wait for more videos.

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      Thank you! I am glad you found the video useful!

  • @ynzaynza
    @ynzaynza Před 3 lety +2

    Excellent video, the basics of setting up and using GitHub in VS, good simple examples, superb! Very clear style of presentation! Thanks man!

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Thank you very much! I’m glad you found the video useful!

  • @MrDaqu40
    @MrDaqu40 Před 3 lety +1

    Thanks Bill, this is just what I've been looking for to get me really working well with Git in Visual Studio.

  • @lifemovements7470
    @lifemovements7470 Před 2 lety +1

    Thank You lot, very simple explanation. kids also easily understand your teaching

    • @bill-raymond
      @bill-raymond  Před 2 lety

      Wonderful, thank you! May I ask what students are using the content and if there are any gaps?

  • @robydj5289
    @robydj5289 Před 3 lety +2

    Great explanation! Thank you very much!

    • @bill-raymond
      @bill-raymond  Před 3 lety

      You are very welcome and thank you for the nice comment!

  • @charliebrownn6622
    @charliebrownn6622 Před 2 lety +1

    wow, this is pure gold! thanks a lot ! and thanks again for the subtitles!

  • @mohammadal-waheidi6557
    @mohammadal-waheidi6557 Před 2 lety +2

    Honestly this is great video with clear explanation, thanks a lot Bill

    • @bill-raymond
      @bill-raymond  Před 2 lety +1

      You are very welcome! Glad you liked the video!

  • @mbayethiam1493
    @mbayethiam1493 Před rokem +1

    très bonne explication, un grand merci à vous Bill 😊❤

  • @oeleboele1971
    @oeleboele1971 Před 3 lety +1

    Thanks for the explanation. Great to get one started with VS and GitHub.

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Thank you and I am glad it was helpful to you!

  • @klemohakmon505
    @klemohakmon505 Před 3 lety +1

    Amazing, thanks for the detailed explanation

  • @minimalcoder3236
    @minimalcoder3236 Před 3 lety +1

    This is the best new GitHub user experience basics tutorial in the entire internet! Thank you very much Bill :))

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      Wow! That is high praise! Thank you so much! Also, please feel free to share that with your friends, family, and anyone you randomly speak with. Make sure they like and subscribe :-)

    • @aamirpare
      @aamirpare Před 3 lety

      @@bill-raymond No doubt the tutorial is very good but how can you enforce anyone to like and subscribe?

    • @bill-raymond
      @bill-raymond  Před 3 lety

      @@aamirpare I only ask that you like and subscribe. I cannot enforce anything. It is just a request

  • @bigheart758
    @bigheart758 Před 3 lety +1

    Thank u very much, the best video and well explained, i am looking forward to see next video which will covers more bash(remote,fetching,pulling,pushing) ,how to write in bash as same time work with visual studio(modify and change codes)
    AWESOME video

  • @mohammadhassan4299
    @mohammadhassan4299 Před 3 lety +1

    Very helpful. Thank you

    • @bill-raymond
      @bill-raymond  Před 3 lety

      You are very welcome, and I am happy it was helpful to you!

  • @thomas_m3092
    @thomas_m3092 Před rokem +1

    Great video. Thanks.

  • @dathatreyan7242
    @dathatreyan7242 Před 2 lety +1

    Good work Bill.. nice video

  • @sergilomtadze2637
    @sergilomtadze2637 Před 2 lety +1

    Great explanation !!!

  • @mohamedkunle528
    @mohamedkunle528 Před 3 lety +1

    thank you so much i learned a lot

    • @bill-raymond
      @bill-raymond  Před 3 lety

      You are very welcome and I am glad you learned from the video!

  • @mdmaia91
    @mdmaia91 Před 2 lety +1

    Greetings from brazil you are awsome, your teaching is amazing

    • @bill-raymond
      @bill-raymond  Před 2 lety +1

      Greetings from San Francisco, and thank you very much for the nice comment!

    • @mdmaia91
      @mdmaia91 Před 2 lety

      @@bill-raymond 👏👏👏

  • @DrowninGGaming
    @DrowninGGaming Před 3 lety +2

    Another fantastic video, nearly fell off my chair when I saw that Hipster Bill Raymond dude!! He has a killer moustache! xD

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Thanks! He’s making a return next week!

    • @DrowninGGaming
      @DrowninGGaming Před 3 lety +1

      @@bill-raymond Haha Brilliant, I can't wait! Are you going to be covering the collaborating and updating origin from upstream? it's been driving me crazy trying to get it to work! xD

    • @bill-raymond
      @bill-raymond  Před 3 lety

      I think so but maybe you can describe the scenario you are trying to address just so I’m sure. There’s a little time to slip in something extra so let me know the use case

    • @DrowninGGaming
      @DrowninGGaming Před 3 lety

      @@bill-raymond Whenever I add / amend code (in a scenario where I have a forked repo from someone else's repo), I commit it, then push it, then create a pull request - all good up to here, the original author merges the code into their main, then the problem occurs, no matter what I do, how I do it, any future contributions I make, when I do the same thing again, it always tries to push both the new commit and the previous commit.
      I can get the upstream to update (fetch and it gets the updated code with my newly merged contribution) and I can merge with my local repo, but when I make another commit and push it, it also pushes my original commit along with the new commit =/

  • @satyaaaddanki2017
    @satyaaaddanki2017 Před 3 lety +1

    Many Thanks, Bill

  • @user-gu1sv3ct4f
    @user-gu1sv3ct4f Před 2 lety +1

    omagd! the best tutorial in youtube

  • @aamirpare
    @aamirpare Před 3 lety +1

    Really a very nice video tutorial that I found on internet.

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Thanks for the great comment and glad it helped you!

  • @mustafaaljanabi4818
    @mustafaaljanabi4818 Před 3 lety +2

    nice video man you are the best, next time please talk higher because I barley hear you. THanks! I will see if what you say actually work.....

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Thanks for the feedback. I’ll increase the volume in the future

  • @itasco6696
    @itasco6696 Před 3 lety +1

    Plain and simple. Thanks

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      I'll assume plain and simple means it was helpful and will take that :-). Thanks!

    • @itasco6696
      @itasco6696 Před 3 lety +1

      @@bill-raymond exactly :)

    • @bill-raymond
      @bill-raymond  Před 3 lety

      @@itasco6696 cool thanks!

  • @Beni352
    @Beni352 Před 2 lety +1

    very good tutorial

  • @jameslockridge8840
    @jameslockridge8840 Před 2 lety +1

    Thanks!

  • @quicktastic
    @quicktastic Před 3 lety +1

    Very good.

  • @billymartin6497
    @billymartin6497 Před 3 lety +1

    Great videos, but I really need the collaboration video. When will it be uploaded?

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      Thank you! And I'm working on it. I promise soon! So sorry. So many things got in the way, and I had run into some bugs I reported to Microsoft.

    • @billymartin6497
      @billymartin6497 Před 3 lety

      @@bill-raymond My partner and I were working on a Xamarin Forms app. We both stayed in the same branch and it worked okay, but if we both made changes in the same file, it was a mess. Love to see the correct way for a team to collaborate.

  • @vineshkumar7435
    @vineshkumar7435 Před 3 lety +1

    looking forward for new video on fork

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Me too! Thank you! I had a serious problem with the recording then some work got in my way, but plan to really sit down and hopefully for real complete it next week :-)

  • @mustafaaljanabi4818
    @mustafaaljanabi4818 Před 3 lety +1

    I got a question, when I made a repository, and clone it to VS. So like it shows me something which is "Select a startup item" but I don't see something like that. Thanks

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Yeah VS sort of assumes you already have supported code in the project. Personally I prefer to create the project in VS and then push to GitHub.

  • @SwatiAgarw
    @SwatiAgarw Před 3 lety +1

    I am not getting “merge branch” and checkout options in the “manage branches” window. Please let me know if I am missing smthng. Thanks. Instead I am getting option like “cherry pick”. Can you explain what it is.

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      I think the problem is you need to switch to the branch you want to merge too.
      For example, let's say you create a new branch and call it "new-feature". You modify a file (or files) and commit those changes.
      Now, you want to merge those changes back to the main (or master) branch. You go to the Git menu and select Manages Branches (which is where I think you are right now -- or at least were at when you asked the question)
      First, you go to the branch you want to merge into. In this case, double-click the main (or master) branch. Alternatively, you can right-click and choose checkout. The main (or master) branch will now be bold.
      With the main branch still in bold, right-click the branch you want to merge into it. In this case, I would right-click on the branch called "new-feature". Select the menu option that says something like "Merge 'new-feature' into 'main'".
      I think you did not see that because you either right-clicked on the wrong branch or did not first select the branch you wanted to merge into.
      Please let me know if that helps or if there is still an issue.

    • @SwatiAgarw
      @SwatiAgarw Před 3 lety

      @@bill-raymond this is really helpful. I tried the steps and it worked.
      Appreciate you taking time to write the explanation.

    • @SwatiAgarw
      @SwatiAgarw Před 3 lety

      Can you please share link to your video / make a video with explanation on “cherry pick”?

  • @kartashuvit4971
    @kartashuvit4971 Před 3 lety

    In visual studio, when I click on the main branch on the bottom right, a window pops up that just shows a list of the branches and a search bar that says "type here to filter the list". There are no settings for adding, switching branches...

    • @bill-raymond
      @bill-raymond  Před 3 lety

      I wonder if this has to do with your having a lot of branches, so MS changes the interface a little bit? I have not experienced this, so am not too sure how to respond. Do you have a public repo I can fork and take a look at? If so, please share the link.

    • @kartashuvit4971
      @kartashuvit4971 Před 3 lety

      @@bill-raymond Never mind, the interface does allow adding and switching branches. I did just update VS to 16.10, so maybe they changed the look

  • @mastaoverpowered1212
    @mastaoverpowered1212 Před 3 lety +1

    Hello is it possible to push two project to one repository ?

    • @bill-raymond
      @bill-raymond  Před 3 lety

      @maStaOverPowered, first let me preface this response with what you will hear a lot: Don't do it, because you are creating a monolith and every project should have its own repo, or use orphaned repos for each project. The work I do is pretty small, so I cannot explain that in more detail. All that aside, to answer your question, it does look like you can! I just created a solution and put two projects into it and then added the code to Git. It put all the files into source control and successfully published to GitHub. I do not know what might happen if each project is not under the same solution folder though (I doubt that works). Hope this helps!

  • @YYYValentine
    @YYYValentine Před 3 lety +1

    Cool, but how to compare code with other branch /commit?

    • @bill-raymond
      @bill-raymond  Před 3 lety +1

      There are many ways. The way you will likely use it is to compare one specific against another specific file. To do that, go to the Solution Explorer, right-click the file, select Git, then select View History. From there, you can select one file, then another using the CTRL key on your keyboard. Right-click on the two selections and select the Compare option. This will take some playing with. Please let me know if that answers your question

    • @YYYValentine
      @YYYValentine Před 3 lety +1

      @@bill-raymond Thanks for the quick and detailed answer! I already use this technic, but I don't now how to do it with completely different branches which have the same file.

    • @bill-raymond
      @bill-raymond  Před 3 lety

      Unfortunately, I do not think VS 2019 offers a solid way to do this. I just checked a few diff tools, but they all seem to like working with files that are in the file explorer window, which means that is not helpful. You might need to do this in command line. Check out this link (which I have not tried, but looks like what you want): intellipaat.com/community/3494/how-to-compare-files-from-two-different-branches-git-diff-file-between-branches