Learn the new Git User experience in Visual Studio 2019

  Рет қаралды 111,016

Bill Raymond

Bill Raymond

Күн бұрын

Пікірлер: 246
@Pateriyadivya
@Pateriyadivya 3 жыл бұрын
I was all confused about this Git with VS but then, I landed here. Amazing !!
@bill-raymond
@bill-raymond 3 жыл бұрын
Wonderful! Thank you for that!
@BuzzKent
@BuzzKent 11 ай бұрын
Bill - fabulous tutorial. Went from thinking Git was going to be a pain in the arse to learn to "dang, I think I'll have a firm grip on Git within a few weeks." Thank you for your work.
@bill-raymond
@bill-raymond 11 ай бұрын
You are very welcome! Yes, I thought learning Git would be a daunting task, but actaully it is quite natural and easy to use. I am glad this video helped you!
@brahmanturiyam3462
@brahmanturiyam3462 3 жыл бұрын
Absolutely beautiful. What great knowledge and extraordinary patience to go step by step for things one is master at. Truly grateful to you for doing this great favor to the community.
@bill-raymond
@bill-raymond 3 жыл бұрын
That is very nice of you to say, thank you!
@lazolabucwa8821
@lazolabucwa8821 3 жыл бұрын
By far the most incredible visual studio git tutorial on KZbin. Thank you so much for this education.
@bill-raymond
@bill-raymond 3 жыл бұрын
Well thank you very much! I’m glad the series has helped you!
@OldSchool614
@OldSchool614 2 жыл бұрын
Awesome tutorial! Our team was used to TFS as our source control and our IS department decided to move to Git. I still know a couple of our dev guys trying to get used to Git, and I'll make sure to share this video to them. Thank you very much, Bill!
@bill-raymond
@bill-raymond 2 жыл бұрын
Great news! I designed this video series specifically for people that don’t have much experience (because I don’t) so glad it was helpful!
@OldSchool614
@OldSchool614 2 жыл бұрын
@@bill-raymond I was also wondering if you already have a video on how to create code review requests, including whether if it's possible to review the branch without merging to main, or merging the branch to main is a requirement. BTW, I'm now subscribed to your channel. Thanks again!
@bill-raymond
@bill-raymond 2 жыл бұрын
@@OldSchool614 Yes. Here you go: Learn collaboration with the new Visual Studio 2019 GitHub experience kzbin.info/www/bejne/jZXGZmmgm5isrq8
@annives
@annives 2 жыл бұрын
The best video I've found so far explaining how to use Git with Visual Studio suite. Thank you for the easy to follow video!
@bill-raymond
@bill-raymond 2 жыл бұрын
Wonderful news and thank you!
@xmatelyanx
@xmatelyanx 3 жыл бұрын
Exactly what I needed to learn, and the pace and delivery of information was perfect. Thank you!
@bill-raymond
@bill-raymond 3 жыл бұрын
Great! Thank you for the nice comment!
@HomelessOnline
@HomelessOnline 2 жыл бұрын
This is exactly the comment I'd post today, but instead I'll just thumbs up. Thank you very much for this video!
@wonderlandv8748
@wonderlandv8748 3 жыл бұрын
Thank you so much for giving such a wonderful tutorial lecture! I was listening, making notes, making screenshots for the key steps, and used 5 x more time in watching the video. It certainly well worth for my efforts to listen to your lecture like that. I have listened to a few other videos with similar content (one of them as a paid course). Your video is certainly the best. I don't get confused any more! I look forward to many more of your videos in the future!
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you! That is great it helped you so much! It takes a few weeks to do these long form videos so I really appreciate this comment!
@parthivpatel3483
@parthivpatel3483 2 жыл бұрын
I am using your teaching videos for an entry level person. Its super easy for them to understand.
@bill-raymond
@bill-raymond 2 жыл бұрын
Wonderful, thank you!
@ErezEl
@ErezEl 3 жыл бұрын
I must say I hated git until I watched your video, thank you so much! Finally someone who explains things simply and clearly! *LIKED & SUBSCRIBED* Edit: Can you please explain how the pull function in git works? It doesnt seem to work for me
@bill-raymond
@bill-raymond 3 жыл бұрын
Great news! Thank you! I hated Git for some time because no one could explain it to me so I’m glad this helped you too!
@ManojKumar-tt3de
@ManojKumar-tt3de 3 жыл бұрын
thank you very much it,s really simple and easy to understand. May you ,your family and your upcoming generations live longer and happily.
@bill-raymond
@bill-raymond 3 жыл бұрын
What a nice comment, thank you! I am very glad these videos are useful to you!
@Pradyumna-e8r
@Pradyumna-e8r 3 жыл бұрын
Very well explained and beginner friendly. I'm shocked to see less subs. Thank you!
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you very much! Yes, I would like more subs too :-)
@minimalcoder3236
@minimalcoder3236 3 жыл бұрын
Hello Bill, I actually started using git and github because of your old tutorial video. Because of these new videos I can finally change my workflow. Waiting for next video about Github :) Thank you for your clean and minimalist explanations. Thumps up!
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you very much! The GitHub version should be out next week. I’m diligently working on it, I promise!
@minimalcoder3236
@minimalcoder3236 3 жыл бұрын
@@bill-raymond Thank you Bill :) Do you consider to demo the new git experience for small team of 2 person ? Syncing, pushing, pull request, merging, solving conflicts etc? It would be great :) Again thank you very much.
@bill-raymond
@bill-raymond 3 жыл бұрын
Yes that will be next to wrap up this series. However, you can check that out in my older video series that will work with visual studio even though the menus are slightly changed. kzbin.info/www/bejne/p53bn6qdgcmWa6s
@bill-raymond
@bill-raymond 3 жыл бұрын
@Minimal Coder The new video is out. Unfortunately, it took a lot of effort to do the basic GitHub activities, so next week's video will be the third in the series with team collaboration. Sorry I had to break it up, but the video was getting too large. Here's the video kzbin.info/www/bejne/baDWpHavbpmMd9E
@minimalcoder3236
@minimalcoder3236 3 жыл бұрын
@@bill-raymond Thank you very much Bill, I will like and comment immediately! :))
@codersexpo1580
@codersexpo1580 3 жыл бұрын
Thank goodness for Playback speed X2. I like this new look and workflow. Thanks for the overview.
@bill-raymond
@bill-raymond 3 жыл бұрын
I'm glad you liked it! FYI, I create most of my videos so people can follow along, so they are a little drawn out, but it is on purpose :-)
@codersexpo1580
@codersexpo1580 3 жыл бұрын
@@bill-raymond Oh I get it. Better to have step by step detailed demonstration that can be accelerated than to have a shallow and ambiguous presentation.
@milenkogataric324
@milenkogataric324 5 күн бұрын
Just amazing. Thank you Bill for doing this.
@bill-raymond
@bill-raymond 5 күн бұрын
You are very welcome and I am glad you liked the video! Always fun to learn something just before the holidays for a sense of accomplishment!
@spaceoddity54
@spaceoddity54 3 жыл бұрын
This was really good thank you. I’ve come from TFS which I found really easy to use. I hated GIT when I started watching this video and now hate it a little bit less. A well earned like and subscriber.
@bill-raymond
@bill-raymond 3 жыл бұрын
Haha! Well, Git and GitHub may have taken the term "distributed" a little too far, but here we are :-). I'm happy you liked the video and found it useful though!
@spaceoddity54
@spaceoddity54 3 жыл бұрын
@@bill-raymond out of interest how long did it take you to get monetised? I’ve recently started a coding channel called “Saturday Night Coder”. Thanks 👍
@bill-raymond
@bill-raymond 3 жыл бұрын
After I started publishing regularly, two months
@spaceoddity54
@spaceoddity54 3 жыл бұрын
@@bill-raymond wow that’s pretty incredible. Thanks
@bill-raymond
@bill-raymond 3 жыл бұрын
@@spaceoddity54 No problem! Just pick a topic you are passionate about, create video titles you think people will search for (not titles you think are cool), and make sure your content is solid so people like, comment, and subscribe
@davidkonekpieri9976
@davidkonekpieri9976 Жыл бұрын
You are a great teacher for we the beginners.Thank you Sir
@bill-raymond
@bill-raymond Жыл бұрын
Thank you very much! I especially like a nice comment like this on a Friday :)
@muhammadharoon7928
@muhammadharoon7928 2 жыл бұрын
Great work Bill. That is one of best video tutorial i have found to understand and set up Git. Keep it up! 😊
@bill-raymond
@bill-raymond 2 жыл бұрын
Thank you very much!
@efexzium
@efexzium 3 жыл бұрын
Fasntastic video, you deserve more views, next time please increase the volume, great job!
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you! I agree I deserve more views :) yeah the volume has been fixed for new videos. I appreciate the comment
@vanttildet3069
@vanttildet3069 3 жыл бұрын
Very up-to-date and very clear explanation. Thank you for sharing the knowledge
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you for the nice comment!
@Webmonton
@Webmonton 2 жыл бұрын
Great overview, it helped me a lot. Clear, concise and answered most all my questions. I just subscribed. See you again. Thank You
@bill-raymond
@bill-raymond 2 жыл бұрын
Great news! Thank you!
@venkatnarayan8042
@venkatnarayan8042 3 жыл бұрын
It helped me to understand how to use git in visual studio. Thank you.
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@MrLPMT
@MrLPMT 3 жыл бұрын
Brilliant, thank you very much. Exactly what I've been looking for.
@bill-raymond
@bill-raymond 3 жыл бұрын
Good to hear, thank you!
@pekkak.1411
@pekkak.1411 3 жыл бұрын
An excellent tutorial. Just found the new git system and wanted to learn to use it again. Easy/quick - took only 30 mins to learn the basics, now I can use git again in VS :). I also make tutorials, I am learning from you :).
@bill-raymond
@bill-raymond 3 жыл бұрын
Great news! I am glad it helped you get started again so quickly! Also, feel free to reach out any time regarding video creation. It is a topic I like to talk about!
@subhrajyotimaji
@subhrajyotimaji 3 жыл бұрын
I wish the audio be a bit better. Apart from that, it's brilliant and crystal clear.
@bill-raymond
@bill-raymond 3 жыл бұрын
Hey I really appreciate it. I know the audio was a problem. It was due to loud noises in the background during my office move for the pandemic so the only fix was (a) re-record or (b) release with lower audio to remove the noise. I picked (b) because it took a few weeks to product. I am glad you found it useful and you should not expect that kind of quality in general from my videos
@subhrajyotimaji
@subhrajyotimaji 3 жыл бұрын
@@bill-raymond (c) create an updated video with more detailed usage of git from visual studio 2019. Specifically related to pull requests, branching, cherry picking, gitignore - your choice. 👍👍👍
@bill-raymond
@bill-raymond 3 жыл бұрын
@@subhrajyotimaji Always happy to take requests for new videos but unfortunately I’m not re-recording this video. However, have you looked at the rest of the playlist? I have the collaboration video that explains pull requests. kzbin.info/www/bejne/jZXGZmmgm5isrq8
@lucianbetke
@lucianbetke Жыл бұрын
The video is more than good
@bill-raymond
@bill-raymond Жыл бұрын
Well, thank you! I really appreciate that!
@avtem
@avtem 3 жыл бұрын
Okay, i downloaded the git for windows and the extension and there is already no "Git" menu in my menu :D Edit: oh my god, i fixed it! Try to do the following: Extensions → Customize menu → Commands → select "Menu Bar" radio box → select "Menu Bar" from the dropdown list and then click the button "Reset All" below. So it seems that i completely deleted the "Git" menu before because i didn't need it. Well, now i need it and i hope it helps you!! Edit #2: What a great tutorial. i really appreciate that you shared this knowledge with us!
@bill-raymond
@bill-raymond 3 жыл бұрын
Ha! Well I certainly would not have figured that one out! Thank you for sharing your experience here so others can see it and thank you for the nice comment as well!
@nalinangammana4909
@nalinangammana4909 3 жыл бұрын
Brilliant, up-to-date and very clear explanation.
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you and I appreciate the comment!
@mryildiz702
@mryildiz702 3 жыл бұрын
Very good explanation and high quality content. The volume of the video was very low. Other than that, it was perfect. Subscribed ;)
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you for the kind words! Yes, the volume issue had to do with a move to a new location with a lot of echo so I reduced the volume too much. In the future, you will hear them much better. I appreciate your comment though!
@badgerint
@badgerint 3 жыл бұрын
Thanks for this. Exactly what I was looking for.
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@ShakirAlimit
@ShakirAlimit 3 жыл бұрын
Thanks Bill. Exactly what I was looking for.
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@saithejagali2269
@saithejagali2269 3 жыл бұрын
Very clear explanation and cover all my target points Thank you
@bill-raymond
@bill-raymond 3 жыл бұрын
Great! And thank you!
@imanemed8323
@imanemed8323 9 ай бұрын
just perfect, thank you for the explanation
@bill-raymond
@bill-raymond 9 ай бұрын
Thank you very much and you are very welcome!
@Skippergri
@Skippergri 2 жыл бұрын
Danke!
@bill-raymond
@bill-raymond 2 жыл бұрын
You are very welcome and thank you very much!
@martinzetter685
@martinzetter685 3 жыл бұрын
I hope you are a teacher! Very well explained...thx
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you very much!
@robertoadame2768
@robertoadame2768 3 жыл бұрын
Thank you, excellent step by step Git 101 course. thank your for sharing Mr.!
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@blogtonight1698
@blogtonight1698 3 жыл бұрын
Very informative and superbly presented, thanks for this!
@bill-raymond
@bill-raymond 3 жыл бұрын
Great news! I am glad you found it useful!
@MrsPrabath
@MrsPrabath 3 жыл бұрын
Clear and perfect Video. Thanks a lot
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@paulthomassen2184
@paulthomassen2184 3 жыл бұрын
Excellent work, Bill. Thanks!
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome, and thank you!
@mikelangford7630
@mikelangford7630 3 жыл бұрын
Thanks Bill, your video is excellent and really helped.
@bill-raymond
@bill-raymond 3 жыл бұрын
Great news and you are very welcome!
@conradforbi994
@conradforbi994 2 жыл бұрын
great video presentation. this has really helped me Thank you so much
@bill-raymond
@bill-raymond 2 жыл бұрын
Thank you and I am glad the video helped you!!
@NavyaVedachala
@NavyaVedachala 3 жыл бұрын
This was really helpful. Thank you!
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you and I am really glad it was helpful. Thank you for the nice comment!
@qisun680
@qisun680 2 жыл бұрын
1:15 looks like in the 2022 version, there is no uncategorized option. when I search the git only "Git for window" shows up.
@bill-raymond
@bill-raymond 2 жыл бұрын
Thank you for pointing this out. I wish Microsoft had a bit more consistency with these things
@Ahlinders
@Ahlinders 3 жыл бұрын
Excellent work, Bill. Thanks! Only fault was that the sound was a bit low.
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you very much! Yes I put a pause on recording until my new mic comes in next week due to the issues with the current one
@nelsonrivers8546
@nelsonrivers8546 8 ай бұрын
Can you add a new video that applies specifically to Visual Studio 2022 (Professional) ? Microsoft moved to a Git menu under VS 2022. It works a bit differently.
@bill-raymond
@bill-raymond 8 ай бұрын
Thank you for the request, but I’m no longer using Visual Studio. If I get back in there again, I would be happy to though!
@troymitchel4790
@troymitchel4790 2 жыл бұрын
How do you untrack and ignore the appsettings.json file? This is probably one of the most important things because it contains sensitive info.
@bill-raymond
@bill-raymond 2 жыл бұрын
You should have a .gitignore file in the root of your project (wherever you initiated Git). Create the file if it does not exist. Edit the .gitignore file and then add appsettings.json on a new line. If this is something you need to do regularly, consider setting it up globally from this link: docs.github.com/en/get-started/getting-started-with-git/ignoring-files#configuring-ignored-files-for-all-repositories-on-your-computer Note that the global setting will only be for the computer you are working on at the time, so I do not like using that option very often. If appsettings.json is important to remove from Git history, check out the following article to remove it from cached commits (I have not done this, but it looks right): stackoverflow.com/questions/1274057/how-can-i-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitign
@top10swithkesi
@top10swithkesi 3 жыл бұрын
Thank You Bill.... Love ❤
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@chairmakerPete
@chairmakerPete 2 жыл бұрын
Super video - thank you very much! I've never had a proper handle on this topic, so have done all mods on the master branch due to problems encountered merging other branches in the past. Now feel confident to use Git properly! 30 minutes well-invested. Why is there confusion over the master / main thing? All my repos say "master", so am I going to hit trouble if I don't change to "main"? Is there a technical reason that's going to bite me if I don't change it?
@bill-raymond
@bill-raymond 2 жыл бұрын
Thanks for the nice review! At the time I created this video, GitHub had not formally completed the shift from master to main but now there aren’t any issues. Most people now use GitHub’s default of “main” or they use “trunk” since everyone uses tree words like “branches”
@chairmakerPete
@chairmakerPete 2 жыл бұрын
@@bill-raymond thank you, Bill. I really enjoyed the video - you're an excellent communicator! As long as Master / main / trunk are all equivalent and not going to blow up in my face, I guess it really doesn't matter - just a style thing. Probably a reminder for me to work on some newer projects using the latest terms!
@zahrasoltani3247
@zahrasoltani3247 3 жыл бұрын
Thank you very much! Very informative video!!
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome! I am glad you found the video informative!
@kmsony35
@kmsony35 2 жыл бұрын
Thank you so much for this wonderful session
@bill-raymond
@bill-raymond 2 жыл бұрын
You are very welcome!
@uber-jaianada
@uber-jaianada 2 жыл бұрын
excellent presentation!
@bill-raymond
@bill-raymond 2 жыл бұрын
Well thank you very much! I appreciate it!
@மகிழ்ச்சி-ர4வ
@மகிழ்ச்சி-ர4வ 3 жыл бұрын
This video is awesome. Can you cover up how to maintain the releases in git.
@bill-raymond
@bill-raymond 3 жыл бұрын
I created the following video. Take a look and let me know if this is what you were looking for? kzbin.info/www/bejne/nKSuhHeeYs-Ketk
@alrivera3358
@alrivera3358 2 жыл бұрын
crystal clear. thanks
@bill-raymond
@bill-raymond 2 жыл бұрын
Great! Thank you!
@rabbombeo979
@rabbombeo979 3 жыл бұрын
Thanks for this Bill.
@bill-raymond
@bill-raymond 3 жыл бұрын
You are welcome!
@SaschaRobitzki
@SaschaRobitzki 3 жыл бұрын
It looks like it's not a preview feature in Visual Studio 2022 Preview anymore.
@bill-raymond
@bill-raymond 3 жыл бұрын
Good news! They said it was out of preview when I made the video but still put it in the preview section :(
@SoftwareDev7
@SoftwareDev7 3 ай бұрын
Excellent video Bill. One thing I don't understand is why do we create a Branch and give it a name, write some code and then Commit and give it another name. What is the purpose of having Multiple Commits within the same Branch? From the video, the workflow appears to be make a Branch; if you like the changes Merge the Branch with the Master. Make a New Branch and so on. The Branches were clear in the video but I don't fully understand why we would make Multiple Commits within a Branch. Please assume the Solution is being developed by a single developer to simplify the scenario. Thank you.
@bill-raymond
@bill-raymond 3 ай бұрын
Everyone has their own opinions, but generally speaking, you create a branch to add a new feature to your code. That feature may be: "Add search to the home page". To do that, maybe you add the back-end search engine to the page and commit that. Then, you add the search bar and commit that. Then, you test the code and find out it doesn't work on mobile to you make some adjustments and commit that. If you do not do all those commits each time, then you might break something that was working earlier. Once that feature (branch) is complete, you merge it with the main branch. I also use commits when I am walking away from my code for awhile. I will do a commit with a message like "Still need to apply styles to the search bar to match UI design". I hope that helps.
@SoftwareDev7
@SoftwareDev7 3 ай бұрын
@@bill-raymond Thank you for your Response Bill. The way you described it above is exactly how I was using the Git System today after watching your video yesterday. What is not clear to me is how to revert to a Previous Commit. Assume I created a Branch, performed Commit 1, Commit 2, Commit 3 and now I realize I want to revert to Commit 2. I need to research how to do that and then I will fully understand how to use the GitHub System for a single developer.
@bill-raymond
@bill-raymond 3 ай бұрын
Perfect! I cover reverting around 22:57
@SoftwareDev7
@SoftwareDev7 3 ай бұрын
@@bill-raymond Ahh you are right! I did a simple revert, a single comment change and got Merge Conflicts. In addition, VS put additional meta data into the file which I don't want to delete every time. I will play around with it more tomorrow. Getting a little tired here after many hours of learning and coding. Thank you Bill. Much appreciate your follow up comments.
@bill-raymond
@bill-raymond 3 ай бұрын
I think the meta data might be additional git information that’s not necessarily “in” the document but in the Git database. You will frequently encounter revert issues of you don’t first commit all the other changed code first
@sanketmalik8027
@sanketmalik8027 7 ай бұрын
Simple and clear
@bill-raymond
@bill-raymond 7 ай бұрын
Thank you!
@Scriptum_1
@Scriptum_1 3 жыл бұрын
Question here. You created a repository for the project. What about if you create another project in the same solution? Will it be under the control of Git too? Or you must create another repository for the new project?
@bill-raymond
@bill-raymond 3 жыл бұрын
Yes, no, and a caveat. Yes if the project is contained under the root of the solution folder. No if the project is outside the root folder of the solution. The caveat is you probably want every project to be in their own root folder with their own git repo. If you do not do that, then you are probably creating what the kids term a "monolith" and that is a bad thing. You should create each project so it can stand alone, but also reference code from the other projects where dependencies matter. As you can see, it can turn into a bigger conversation :-)
@Scriptum_1
@Scriptum_1 3 жыл бұрын
@@bill-raymond Thank you Bill, subscribed !
@bill-raymond
@bill-raymond 3 жыл бұрын
No problem and thank you!
@harlanx
@harlanx 2 жыл бұрын
Is the Git for Windows from Individual Component is the same as the standalone Git from their official website? Does it also have Git Bash or all it has is the Git functionalities inside Visual Studio?
@bill-raymond
@bill-raymond 2 жыл бұрын
Visual Studio uses standard Git, so it’s not a variant of Git. You can 100% use the command line or Bash assume you have the Linux subsystem enabled in Windows. However, Visual Studio does not do everything you can do on the command line. If your basic usage is to commit, push, pull, send pull requests and review PRs then it’s super useful. If you have a more advanced workflow, then the command line would be best
@eng.wandeson
@eng.wandeson 2 жыл бұрын
Thank you very much for this video. He help me too.
@bill-raymond
@bill-raymond 2 жыл бұрын
Thank you and I’m glad you liked it!
@b1zzler
@b1zzler 3 жыл бұрын
When I try to merge a branch 'branch1' into main (while main is selected/checked out), the merge option is available, but reads " merge 'branch1' into 'branch1' ". Anyone know why this might be happening? *edit* I've found a workaround. (Restarting visual studio, or perhaps just closing and re-opening the solution through the 'File > ' menu). I suspect that this is a bug either in Visual Studio or in one of the extensions I'm using.
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you for sharing that tip! I had not encountered the issue before, but nothing beats a good old fashioned reset :-)
@kiranbs5057
@kiranbs5057 3 жыл бұрын
Thanks for this tutorial . It helped me a lot :)
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@MeleeChannel
@MeleeChannel 3 жыл бұрын
This is one fantastic summary of working the interface with git in Visual Studio! By the end I had no confusions or questions left unanswered, and I feel I can now work with it and fully grasp its usefulness! All that's left for me to find is an extension that could show a more visualized version of the git history in vs, much like "git graph" does in vscode. Just having a list of the branches ordered alphabetically with seemingly no clear direction of when a branch was created or merged seems lacking in my eyes(reading and parsing the branch history could very well come with plenty more experience, I'm sure). Is it something I'll have to cope with or do you have any tips to share in that regard? Thanks again!
@bill-raymond
@bill-raymond 3 жыл бұрын
I'm glad this was useful to you! Yes, whatever Microsoft ships will likely always be generic and then allow for extensions. I have played with VS 2022, but have not seen anything that much different from 2019.
@bhavanpreethamch7062
@bhavanpreethamch7062 3 жыл бұрын
Well explained Thank you Sir
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you!
@slashslash92
@slashslash92 2 жыл бұрын
What if I want only to create a GitHub repository for a single folder within the solution? I have a solution with hundreds of folders containing files in each of them, and I want each folder to have its own repository without the need to open it separately and relaunch Visual Studio each time. So I want everything to be listed in the same solution, yet each folder has its own repository. How can I achieve that?
@bill-raymond
@bill-raymond 2 жыл бұрын
This is an ongoing question and debate amongst developers. Some will tell you to separate your code out to multiple repos because that will force you to keep each element of your code easy to maintain and help you avoid turning your app into something “monolithic”. However, jumping from repo to repo, especially when your code is new or you are the independent and primary maintainer, that could feel a bit like you are overdoing it and could be harder to code. I do not have a complete answer for you on this, but I will point you to this excellent article about Monorepos, which I think is closer to what you are looking for: semaphoreci.com/blog/what-is-monorepo the one thing I suggest is if things start to feel too difficult and you begin hating git and GitHub because you don’t like how it works, then you should seriously consider (a) trying it the git way and you will probably love it at first but go through the pain of refactoring code or (b) finding a different source control system that works best for you. I went down the (a) path because I was constantly fighting with git because I liked my old workflow, but now I know my old workflow was flawed and caused too much context switching. I hope this helps!
@slashslash92
@slashslash92 2 жыл бұрын
@@bill-raymond Appreciate it ❤️
@AjithWesly
@AjithWesly 3 жыл бұрын
beautiful Explanation sir.
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you, I appreciate that!
@bryankrossley1193
@bryankrossley1193 3 жыл бұрын
Bill, I have a Solution that started out as one project which is under source control (Git) I have added more projects but cant see to figure out how to get them under source control even though they are in the same solution. Is this possible?
@bill-raymond
@bill-raymond 3 жыл бұрын
Hi Bryan, the way Visual Studio creates projects, with the solution file [usually] being at a top-level folder with projects going underneath it means that you can end up in a solution where one project is under source control when others are not, so I understand the situation you are in. One option is to add source control to each project, so they are truly unique projects on your local computer. Depending on how large your solution/project is, that might be a good idea. However, it sounds like you want to have one single git repo for the entire solution (and sub-projects). I have not put much thought into this particular concept, but here is what I would do personally (and not being the expert): 1. Create a brand new solution and put it under Git source control 2. Copy the project folders into the solution folder. Visual Studio (and Git) should see the new files, which you can then commit into the overall solution. Note: Do *not* copy over hidden files because that could bring over the .git file(s) over from the old solution to the new one 3. Re-configure the solution and project files so they are all linked up, have the build settings you want, etc. I bet if you go to StackOverflow and ask if/how you can move Git from one folder to another, add the solution file(s) and add sub-folders, but honestly, my approach feels clean and less messy :-)
@goodmanshawnhuang
@goodmanshawnhuang 3 жыл бұрын
Great work! One question, in my solution I have multiple project, should I create one repo for each project please? Thanks again for your wonderful job done!
@bill-raymond
@bill-raymond 3 жыл бұрын
You have asked a question that is hotly debated, so I will first answer the question that I think you want the answer to. If all your projects are under the same folder structure as your solution and you have the solution open with all projects, then they will all go under source control. So that is the easy answer. The real challenge now is to ask yourself what you should really be doing. Most people will tell you that you are building a “monolith” application by doing it that way. They will also tell you that each project should have its own unique root folder and be in its own git repo with a corresponding GitHub repo. I believe that the second path (multiple repos) is the right thing to do. However, if it is just you and maybe a few collaborators and the solution is not that big I would question why bother? Also, Visual Studio does not make it easy for you to manage multiple repos nicely when using a solution, so you may find it necessary to re-think how you design and structure your project. Hope that helps!
@goodmanshawnhuang
@goodmanshawnhuang 3 жыл бұрын
@@bill-raymond great thanks Bill, you are brilliant yet so humble. That helps a lot.
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome and good luck with your project!
@vijaygangwar5361
@vijaygangwar5361 3 жыл бұрын
Video Volume is quite low..not able to hear clearly :(
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you for the feedback. I’m still trying to get the audio quality right. I think my future videos will be better. Sorry about that. It all has to do with working in a new space that echoes and I’m trying to reduce that.
@k46926472
@k46926472 2 жыл бұрын
Really nice video .
@bill-raymond
@bill-raymond 2 жыл бұрын
Thank you!
@RussWeymouthPhotography
@RussWeymouthPhotography 3 жыл бұрын
Very useful video, marred by far too many adverts (7)!
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you! I actually have the videos down to a minimum. Sorry about that.
@kpadhnan
@kpadhnan 2 жыл бұрын
Very useful video..Thank you so much.
@bill-raymond
@bill-raymond 2 жыл бұрын
You are very welcome!
@bhargavmakwana1762
@bhargavmakwana1762 2 жыл бұрын
Useful thanks!
@bill-raymond
@bill-raymond 2 жыл бұрын
Thank you very much and I’m glad you found it useful!
@haitelmm
@haitelmm 3 жыл бұрын
Thank you so much this is an excellent tutorial
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you!!
@АртёмТихончук-ч5ю
@АртёмТихончук-ч5ю 3 жыл бұрын
Like. Subscibe. Wait new videos. This video is perfect for newcomers.
@bill-raymond
@bill-raymond 3 жыл бұрын
Great news and thank you!
@jhonlloydgellica3268
@jhonlloydgellica3268 3 жыл бұрын
thanks bill! How to collaborate with team using local only ? Can you teach me how ?
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you! I don’t think local only will really be worth trying. You could use GitHub out GitLab private repos though
@sahinvarol5474
@sahinvarol5474 3 жыл бұрын
Very good video.
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you! I am glad you are finding them helpful.
@tarunchourasia5879
@tarunchourasia5879 3 жыл бұрын
What if I make a change in The feature branch in startup file and switch to main without committing will that change also will be visible in both branches ? I am confused because earlier if I used to make any changes in a branch and switch to other vs used to ask me to either commit that or to stash that But today I saw something strange I made a change in a feature branch and coz I have some work in develop branch I just checked out to develop branch without committing my feature branch changes and when I was on develop branch I saw all my changes which I made feature was as it is in develop branch's file too 🥺 Can you please help on this ?
@bill-raymond
@bill-raymond 3 жыл бұрын
Okay that is a very good question and it seems weird to make a change and switch to another branch and the changes seem to appear there. What happened, right? Let's use your example. You are in the feature branch and make a change. At this point, that change is Pending (that is what VS 2019 calls it). Now, you switch to the main branch and it looks like that change carried over. In fact, the change is just following around with you because you did not commit it yet (well, technically it is unstaged, but I do not cover that in this video). So, the rule is, go to the feature branch and commit your change there. After you make that commit, the code will not carry over to another branch when you switch around. If that is something you do frequently but do not want to commit, you will have to look up "staging" files. I will ponder creating a video for it, but staging means you are letting GitHub know you want that change staged (not committed yet) in the branch you are working on.
@rajusurigi6611
@rajusurigi6611 3 жыл бұрын
how to merge only specific commits to main branch?
@bill-raymond
@bill-raymond 3 жыл бұрын
To the best of my knowledge, you cannot do this using the Visual Studio UI, so you will have to use the command line. Install Git and use Cherry Pick. here's a good example: stackoverflow.com/questions/881092/how-to-merge-a-specific-commit-in-git/881112
@rebeccakoll3737
@rebeccakoll3737 3 жыл бұрын
Do you have any recommendations for configuring visual studio 2019 mac? I'm new to both GitHub and visual studio and having a hard time following along with the tutorial since the windows version is just different enough. Thank you!
@bill-raymond
@bill-raymond 3 жыл бұрын
I would recommend installing Visual Studio Code, then installing Git. You should be good to go! Most GitHub functionality is built in
@harinadhbabu309
@harinadhbabu309 3 жыл бұрын
Awesome 👍
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you!
@chandanadas7860
@chandanadas7860 3 жыл бұрын
You are brilliant. Please make content on Microservice API TDD. now I subscribed your channel.
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you very much! There may be something about micro services, but that would be later in the year.
@ДимаОтмас-и9х
@ДимаОтмас-и9х 3 жыл бұрын
i've use visual studio 2022 but button "Commit all" is disable. Why? Thank you
@bill-raymond
@bill-raymond 3 жыл бұрын
Hmm.. I would need more information, but here is how I would start trying to figure it out. First, make sure the file(s) you are editing are under source control and there is a Git repo, then make sure you save the file(s). I know that might seem like a lame response, but forgetting to save a file is my #1 reason for getting frustrated as to why the commit buttons are not available :-)
@kvelez
@kvelez 7 ай бұрын
Good video.
@bill-raymond
@bill-raymond 6 ай бұрын
Thank you!
@lopsgamesstudio4113
@lopsgamesstudio4113 2 жыл бұрын
the continue without code option isn't exists 😑😑
@bill-raymond
@bill-raymond 2 жыл бұрын
Could you provide the time in the video you are referring to?
@lopsgamesstudio4113
@lopsgamesstudio4113 2 жыл бұрын
@@bill-raymond 1:25
@bill-raymond
@bill-raymond 2 жыл бұрын
@@lopsgamesstudio4113 That is odd because I have that. No worries though! Just create any random project. The point is to get into VS so you can modify settings
@lopsgamesstudio4113
@lopsgamesstudio4113 2 жыл бұрын
@@bill-raymond thank you i did this and succeeded 😀😀
@bill-raymond
@bill-raymond 2 жыл бұрын
@@lopsgamesstudio4113 great!
@sakuranooka
@sakuranooka 3 жыл бұрын
I have no "Github" in my "Other windows...". How come?
@bill-raymond
@bill-raymond 3 жыл бұрын
Please make sure you added the feature from the Tools menu and restart Visual Studio. Does that help?
@jochenhansen1385
@jochenhansen1385 3 жыл бұрын
excellent
@bill-raymond
@bill-raymond 3 жыл бұрын
Thank you!
@philico999
@philico999 Жыл бұрын
This is a great video but I have to turn the volume all the way up to hear anything. If possible, can you please normalize it?
@bill-raymond
@bill-raymond Жыл бұрын
Thank you for the feedback. I understand the issue. It took me weeks to do this video because of a bug in the recording software. I’ll see if there’s anything KZbin can do to help me with this, but revisiting this particular video would be pretty triggering :)
@legendaryrababa
@legendaryrababa 3 жыл бұрын
I checked everything in preview features, I installed all git stuff, still I cant see git menu next to debug.
@bill-raymond
@bill-raymond 3 жыл бұрын
What version are you on?
@bill-raymond
@bill-raymond 3 жыл бұрын
Meaning, what version of visual studio?
@legendaryrababa
@legendaryrababa 3 жыл бұрын
@@bill-raymond 16.9.1, I just got it, problem solved. Thanks for the fast replay, and awesome video
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome and glad you are up and running!
@Xochipilli
@Xochipilli 2 жыл бұрын
gracias amigo
@bill-raymond
@bill-raymond 2 жыл бұрын
Con gusto
@Malnad_hudgi_uk_hudga
@Malnad_hudgi_uk_hudga 3 жыл бұрын
Thank you so much
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
@clamato422
@clamato422 3 жыл бұрын
Please do the GitHub repo version! Thanks =)
@bill-raymond
@bill-raymond 3 жыл бұрын
It is coming! I promise! Please subscribe and click the bell for notifications. If all the stars align, it will be out next week, so you will get the notification. I hope the Git version was helpful.
@clamato422
@clamato422 3 жыл бұрын
@@bill-raymond Helped alot. All my books show the old Team tab version w/"publishing". Can you plz add something about undoing & starting over from a messed up Publish/upload of a project? Thx.
@bill-raymond
@bill-raymond 3 жыл бұрын
On GitHub? Yes I can do that. Great idea!
@lordnoobster
@lordnoobster 3 жыл бұрын
git doesn't show up on my menu
@bill-raymond
@bill-raymond 3 жыл бұрын
Have you upgraded and turned on all the features as I show in the beginning of the video? Miss one step and it might not work :). Also exit and restart VS as well
@avtem
@avtem 3 жыл бұрын
oh my god, i fixed it! Try to do the following: Extensions → Customize menu → Commands → select "Menu Bar" radio box → select "Menu Bar" from the dropdown list and then click the button "Reset All" below. So it seems that i completely deleted the "Git" menu before because i didn't need it. Well, now i need it and i hope it helps you!!
@JAHTrekON
@JAHTrekON 2 жыл бұрын
Volume is very low.
@bill-raymond
@bill-raymond 2 жыл бұрын
Yes I’m sorry about that. The problem was I recorded this during the peak of the pandemic and was switching up sound, location, equipment, and there was lots of noise so keeping it low was the only option (for me). I hope the video was helpful still
@Crystalheard
@Crystalheard 3 жыл бұрын
Sound is too low.
@bill-raymond
@bill-raymond 3 жыл бұрын
Sorry it is too low for you. I did just play it at 50% volume and it came through pretty well for me. Was there a specific part of the video, or just the whole thing?
@Crystalheard
@Crystalheard 3 жыл бұрын
@@bill-raymond Thank you for the reply buddy. I indeed increased volume and watched this vid, and learnt a lot from it. The only issue was when every time it came ads, the ads volume was terribly high comparing to your voice. Once again thank you for the vid.
@bill-raymond
@bill-raymond 3 жыл бұрын
@saku okay thank you for this feedback! I’ve dealing with a new “COVID office” :). Getting the audio right without a tremendous amount of echo is something I’m still working on. Thanks so much for explaining the situation and I’m glad you were still able to make use of the video!
@firsttimerplantingseeds
@firsttimerplantingseeds 3 жыл бұрын
Bill, I hope you don't mind my comment. please remember that I am not trying to offend you. I appreciate you creating this video but I rather you mention the point of each instruction before you provide the instruction otherwise, I am looking at your steps thinking "what is he trying to do?"
@bill-raymond
@bill-raymond 3 жыл бұрын
Hi Jay. Thank you and that is really good feedback and something I am absolutely changing moving forward. In some cases, the videos will be broken up into smaller bites. In other cases, like this long-form video, I will introduce each concept first. No offense taken at all and all constructive feedback is very welcome! Thanks again!
@steve91311
@steve91311 2 жыл бұрын
Unfortunately, I had to stop watching this. The volume is too low. I tried multiple devices and all had volume turned up to the highest leave. Further, when compared to the other videos, this video has low volume. Sorry, but it is what it is.
@bill-raymond
@bill-raymond 2 жыл бұрын
I appreciate your sharing this with me. Unfortunately, I created this video while still relocating my home office (because Covid), and the quality of the audio was really terrrible. I did my best so apologies for your experience and know that my other videos (aside from one other recorded during that time) are all very high quality audio now
@saifmos6516
@saifmos6516 3 жыл бұрын
so bad
@bill-raymond
@bill-raymond 3 жыл бұрын
Hi there. Could you share what you did not like about the video?
@toolyagorn
@toolyagorn 3 жыл бұрын
Thank you so much
@bill-raymond
@bill-raymond 3 жыл бұрын
You are very welcome!
Learn the new GitHub user experience in Visual Studio 2019
38:44
Bill Raymond
Рет қаралды 23 М.
Up and Running with Git and Visual Studio with Azure DevOps
28:06
Bill Raymond
Рет қаралды 57 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 17 МЛН
Git MERGE vs REBASE
16:12
Academind
Рет қаралды 1 МЛН
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,2 МЛН
Up and Running with GitHub and Visual Studio 2019
23:39
Bill Raymond
Рет қаралды 79 М.
How to use Git with Visual Studio 2022 (Step by step)
15:11
Tech With Pat
Рет қаралды 158 М.
Learn Git - Full Course for Beginners
3:43:34
freeCodeCamp.org
Рет қаралды 944 М.
Getting Started Faster with Git and GitHub
19:02
Microsoft Visual Studio
Рет қаралды 34 М.
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 131 М.
Intro to GitHub - Commits, Issues, Pull Requests, Releases, and more
1:09:28
How to use Github with Visual Studio 2022
23:46
Programming w/ Professor Sluiter
Рет қаралды 170 М.