Рет қаралды 26,009
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