Тёмный

Up and Running with Visual Studio Code and GitHub 

Bill Raymond
Подписаться 7 тыс.
Просмотров 26 тыс.
50% 1

In this video, I show you how to use Git and GitHub using Visual Studio Code. This is an up-and-running video, so you will learn the basics. I will teach you the bare minimum you need to know in order to manage your code locally using Visual Studio Code. I will also show you how to synchronize your code with GitHub.
I am a beginner and still learning all this myself, so please keep your comments positive and feel free to correct me if I say anything wrong.
Times for all the content:
00:16 - What is Git?
01:00 - What is GitHub?
01:57 - What is a repo? What is a local repo?
02:42 - What is a remote repo? What is GitHub?
02:25 - Download Visual Studio Code
03:56 - Create a directory, add some basic code, and test
06:27 - Initialize Git in the directory to create a local repo
07:22 - Stage your code and create an initial commit
10:38 - Overview of what you have done so far
11:01 - Create a repo in GitHub
12:52 - Add a remote and sync to GitHub
14:29 - Perform a Git fetch
15:20 - Sync code from your local Git repo to the remote GitHub repo
17:09 - Create a readme file in the remote GitHub repo
18:49 - Sync the readme file from the remote GitHub repo to the local repo
20:56 - Create a branch in the local repo
26:21 - Sync local code and branch to the remote GitHub repo
27:12 - Sync an individual branch in a local repo to the GitHub repo
28:43 - Clone a GitHub repo down to a local repo
33:00 - Tips and tricks: Shortcut keys
36:02 - Tips and tricks: Using the command line
37:58 - Tips and Tricks: Visual Studio Code extensions

Опубликовано:

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 79   
@zealotist
@zealotist 4 года назад
I felt really happy when I heard "were not gonna use the command line"😅 Great Tutorial by the way. Keep up the good work👍
@bill-raymond
@bill-raymond 4 года назад
Thanks! I have been using the command line and quite honestly, I enjoy using the front-end as it does not require as much context switching. That said, the front end is not as powerful, so for bigger projects with more people involved, it may not be as useful.
@kenkioqqo
@kenkioqqo 3 года назад
Thanks a Billion, Bill. This is exactly what I need at this moment in time.
@bill-raymond
@bill-raymond 2 года назад
Great, I am glad you found it useful!
@thingsis
@thingsis 4 года назад
Hi Bill, I had been looking for a good tutorial for git in general. After searching for a while and watching some videos I stumbled across this. Since I am using vscode myself I thought 'why not'. Well, this was exactly what I needed. A great explanation of what this process looks like and how to set it up. Thanks a lot Bill! You efforts are highly appreciated! Henrik
@bill-raymond
@bill-raymond 4 года назад
Thanks! I needed this when I was coding too :-)
@taylormade8347
@taylormade8347 2 года назад
Bill!! Thank you SO MUCH for this video! I've reviewing tutorial after tutorial and kept running into issues and they just weren't explaining and guiding the way I needed, and your video is AMAZING!! Thank you so much, I'm only about 20 mins in but had to pause and tell you how fantastic your gentle guidance and patient instruction is! Thanks again!
@bill-raymond
@bill-raymond 2 года назад
Well thank you! That comment made my night!
@taylormade8347
@taylormade8347 2 года назад
@@bill-raymond You're welcome my friend! Keep up the great videos! You've got my subscription
@bill-raymond
@bill-raymond 2 года назад
Thank you very much! And yes I do create more videos, but they take some time because there’s a lot of storyboarding and planning involved
@astaganaga1906
@astaganaga1906 3 года назад
Thank you so much Bill you don’t know how much this has helped me
@bill-raymond
@bill-raymond 3 года назад
That’s great news! Thank you!
@SarawuthSr
@SarawuthSr 4 года назад
I think you make the good one GitHub and VS.Code than other that I try to browse on. Many thank for good thing.
@bill-raymond
@bill-raymond 4 года назад
Thank you very much! If you happen to know others that would be interested, I would appreciate your sharing. Happy New Year!
@MotivatedMaverick
@MotivatedMaverick 2 года назад
Excellent course! It really helped me out this morning!
@bill-raymond
@bill-raymond 2 года назад
Thank you very much!
@sandortudja2087
@sandortudja2087 4 года назад
Thanks for this video. Now I understand Git and GitHub better. You should title this video like this: GitHub - Visual Studio Code 101😂 Nice work!👍
@bill-raymond
@bill-raymond 4 года назад
Good thought on the title, thank you. Also, thank you for the great comment and I’m glad it helped you!
@SpidermanMRVL
@SpidermanMRVL 4 года назад
Thank you!!! You did a great job with this video!!!
@bill-raymond
@bill-raymond 4 года назад
Thanks and I am glad it was useful to you.
@mdraihanofficial3820
@mdraihanofficial3820 3 года назад
Learnt a lot from you. Thank you for this tutorial ⚡
@bill-raymond
@bill-raymond 3 года назад
Great news! Thank you!
@ashwinghagre1819
@ashwinghagre1819 4 года назад
The best video on git and vscode.
@bill-raymond
@bill-raymond 4 года назад
Thank you!
@__VAL__
@__VAL__ 3 года назад
This tutorial has helped loads! Everything was explained perfectly. I am now confident I can now use this knowledge in all my future projects, Thank you!
@bill-raymond
@bill-raymond 3 года назад
Great news, thank you!
@jorgemarquez7343
@jorgemarquez7343 4 года назад
Thank you very much for the detailed video. New at VSCode and it really helped me out
@bill-raymond
@bill-raymond 4 года назад
Glad it helped! Thank you!
@shakerdl120
@shakerdl120 4 года назад
You're the best, thank you very much waiting for more videos to be released ... :) :)
@bill-raymond
@bill-raymond 4 года назад
@tal Thank you! Is there anything in particular you would be interested in? Also, I am growing this community, so would appreciate your sharing my videos or the channel with others. Thanks again!
@betakors
@betakors 3 года назад
Thank you!
@bill-raymond
@bill-raymond 3 года назад
You are very welcome!
@percylanda
@percylanda 4 года назад
Great video! Thanks so much for sharing your knowledge. You were very comprehensive.
@bill-raymond
@bill-raymond 4 года назад
Thank you very much! I appreciate the nice comment!
@essamkhattab2156
@essamkhattab2156 4 года назад
you are the best! keep up!
@bill-raymond
@bill-raymond 4 года назад
Thank you, once again! As always, I would appreciate if you share :)
@MrTranton
@MrTranton 4 года назад
Thanks for this Bill. I found it very useful
@bill-raymond
@bill-raymond 4 года назад
Great news. I am glad it helped!
@imtiajahammad3586
@imtiajahammad3586 4 года назад
Thanks for the step by step instruction it helped me.
@bill-raymond
@bill-raymond 4 года назад
No problem. Glad it was helpful!
@shreyojitdas9333
@shreyojitdas9333 3 года назад
Can you please teach devops on your channel.??...... Love your videos very helpful
@bill-raymond
@bill-raymond 3 года назад
I am learning more on this topic. You will see some azure devops videos on here for now
@jbfarnell
@jbfarnell 4 года назад
Great instructional video. I like how you just show what's necessary without all the fluff. One suggestion: perhaps split up the video into smaller chunks. Could probably get away with splitting this one into at least 3-4 more manageable videos
@bill-raymond
@bill-raymond 4 года назад
Thank you very much for your kind words. Yes, I considered creating multiple videos and ultimately made the choice to do an all-in-one purely out of convenience. I will definitely take your feedback for future videos.
@cheriehe
@cheriehe 4 года назад
Thank you for your hard work. It helped me a lot.
@bill-raymond
@bill-raymond 4 года назад
You are welcome and I am glad it helped you!
@Broccoli_Man__
@Broccoli_Man__ 4 года назад
Really great content.... I was looking for that only Many thanks 🙏
@bill-raymond
@bill-raymond 4 года назад
Thank you and you are very welcome!
@radueneaioan
@radueneaioan 3 года назад
It's there a way to add a new Source Control? I mean to add a new local repository that with a new remote on Git Hub.
@bill-raymond
@bill-raymond 3 года назад
If you do a command+shift+p (or control+shift+p on Windows), type "Add remote.." or "Remove Remote..."
@mictheone1111
@mictheone1111 4 года назад
Really great video, learned alot!
@bill-raymond
@bill-raymond 4 года назад
Thank you, Michael!
@prasannanaik1023
@prasannanaik1023 3 года назад
Git fetch: when you are working on a branch and you create a new branch in git remote repo, and if you want to switch to that newly created branch, you need to fetch than only the branch name switch option will be visible otherwise it won't..this is where i found git fetch useful
@bill-raymond
@bill-raymond 3 года назад
Thanks for the tip!
@Shiki229
@Shiki229 4 года назад
Very helpful!
@bill-raymond
@bill-raymond 4 года назад
Thanks and glad you liked it!
@andylib
@andylib 4 года назад
THANK.YOU.SO.MUCH
@bill-raymond
@bill-raymond 4 года назад
YOU.ARE.VERY.WELCOME! :-)
@kalpanavonteri7733
@kalpanavonteri7733 4 года назад
Hi Bill, After cloning I am seeing Failed to watch ref 'c:\Automation\NAP-PROJECT\NAP-PROJECT\.git efs emotes\origin\master', is most likely packed. Error: ENOENT: no such file or directory, watch 'c:\Automation\NAP-PROJECT\NAP-PROJECT\.git efs emotes\origin\master' error message. could you please let me know what might be the issue
@bill-raymond
@bill-raymond 4 года назад
If you provide me the remove link you are cloning from, I can take a look.
@jayrich1438
@jayrich1438 3 года назад
hoi! ik komm uits de nederlands
@bill-raymond
@bill-raymond 3 года назад
Unfortunately, I cannot do that because RU-vid has canceled the feature. If you would like to work with me to translate them, I am happy to help by providing the original videos or if you provide me with the subtitles, I can work to include them! Send me an email at bill.raymond@cambermast.com
@dashmirmejdi38fu3ue8
@dashmirmejdi38fu3ue8 3 года назад
At 37:00 the terminal part, I have installed git on my computer and so well did in the VS code but I had the error message that required Identity. I checked some VS code repo issues about that problem and I just followed what they say. The question how do you properly fixed that part I just did exactly git config --global user.email "you@example.com" git config --global user.name "Your Name" but this one is required everytime you start the project.
@bill-raymond
@bill-raymond 3 года назад
Hmm.. it is not necessarily required, but of course highly recommended. It certainly should not be asking you to do this every time. When you run those commands, does it give you any warnings?
@dashmirmejdi38fu3ue8
@dashmirmejdi38fu3ue8 3 года назад
Nope no error warning only a requirement when I need to commit. Anyways I won't do more than 10 projects
@bill-raymond
@bill-raymond 3 года назад
@@dashmirmejdi38fu3ue8 Ah, okay. Thanks
@ijava44
@ijava44 4 года назад
To create an html5 skeleton snipet, type doc then hit enter inside file editor, You will magicaly get a complete html5 skeleton thanks to emmet.. emmet is a built in (no install or enable required) html editor extension in vs code. check it out.
@bill-raymond
@bill-raymond 4 года назад
Great tip. Thank you!
@system2072
@system2072 4 года назад
great content Bill i had a problem though.. when i tried to sync it gives me a fatal error saying "Git: remote: Permission to my git name denied to me"
@bill-raymond
@bill-raymond 4 года назад
Take a look at this article and see if it helps. stackoverflow.com/questions/47465644/github-remote-permission-denied
@system2072
@system2072 4 года назад
@@bill-raymond thank you for replying on such a short notice... by the way i resolved my problem... thanks again
@farazsalehi9034
@farazsalehi9034 4 года назад
I don't have that + sign for adding vcs in my vs code ..
@bill-raymond
@bill-raymond 4 года назад
Where are you seeing it in the video? There’s lots of plus signs in there :)
@messapatingy
@messapatingy 4 года назад
I had a problem with "fetch". My git version was old so I removed it and installed the latest version. git-scm.com/downloads
@bill-raymond
@bill-raymond 4 года назад
Ah, I didn't know that would be an issue. Thank you for sharing your fix!
@tilakmadichettitheappdeveloper
@tilakmadichettitheappdeveloper 4 года назад
you should have use git lens
@bill-raymond
@bill-raymond 4 года назад
Yes, I do use Git Lens and I think VSC is getting even better at incorporating similar functionality into the code. Some time in the next month or two, I might post an update, but try not to focus on extensions on my videos too much because they distract from the core training. I really appreciate your sharing this with anyone that might be reading because Git Lens is a great tool and worth installing.
@tilakmadichettitheappdeveloper
@tilakmadichettitheappdeveloper 4 года назад
@@bill-raymond good to know you didn't forget your RU-vid channel
@bill-raymond
@bill-raymond 4 года назад
Thanks. I’ve had to deal with other priorities due to the pandemic, but I’m starting to publish more videos again.
Далее
Up and Running with GitHub and Visual Studio 2019
23:39
Starman🫡
00:18
Просмотров 9 млн
Нарвался на сотрудника ФСБ⚡️
01:00
The Most Elite Chefs Ever!
00:35
Просмотров 2,9 млн
The Best VSCode Extensions 2024
9:29
Просмотров 333 тыс.
Develop Anywhere with VS Code
27:38
Просмотров 16 тыс.
How GIT works under the HOOD?
16:01
Просмотров 196 тыс.
Visual Studio Code | How to use git and github
16:21
Просмотров 568 тыс.
Using Git & GitHub in VSCode: Stage, Commit, and Push
14:51
25 VS Code Productivity Tips and Speed Hacks
11:35
Просмотров 2,3 млн
Learn the new Git User experience in Visual Studio 2019
35:34
Starman🫡
00:18
Просмотров 9 млн