How To Use Git In VS Code Like A Pro!

Publicado em: 10 Julho 2024
no canal de: The Common Coder
87,436
1.9k

Let’s learn the essentials of using Git in VS Code!

In this video, we’ll explore how to work with Git in VS Code, covering everything from initializing a repository to managing branches and integrating with GitHub—all within the Source Control panel. You'll learn how to stage and commit changes, undo commits, use stashes to temporarily store changes, and sync your work effortlessly. By the end, you’ll have the skills to confidently manage your work using Git in VS Code!

What’s your favorite Git feature in VS Code? Let me know in the comments!

📺 SUBSCRIBE FOR MORE!
   / @thecommoncoder  
--------------------------------------------------------------------------
✅ PREREQUISITES
Install Git: ➡️    • How to Install Git on Mac and Windows! (Be...  
Install VS Code: ➡️    • Installing Visual Studio Code on Mac and W...  
Create a GitHub Account: ➡️    • How to Create a GitHub Account (For Beginn...  
Setup SSH Keys: ➡️    • The Ultimate GitHub SSH Key Tutorial (Fast...  
--------------------------------------------------------------------------
⏱️ TIMESTAMPS
00:00 - Introduction
00:12 - Prerequisites
01:20 - Creating our Project
02:42 - Initializing a Git Repository
04:12 - Adding Files
05:42 - Staging and Un-staging Changes
07:18 - Opening Files and Comparing Changes
08:38 - Committing File Changes
10:06 - The Source Control Menu
10:49 - Undo Last Commit
12:03 - Modifying Files
13:28 - Stashing Changes
15:55 - Discard Pending Changes
16:15 - Creating and Switching Branches
17:57 - Merging Branches
18:50 - Deleting a Branch
20:00 - Deleting Files
20:55 - Helpful Editor Indicators
22:23 - Committing the Deleted File
23:16 - Publish Repository to GitHub
25:19 - Sync Changes (Fetch, Push, Pull)
26:58 - Cloning a Repository
29:21 - Final Thoughts
29:58 - Outro
--------------------------------------------------------------------------
🌎 CONNECT WITH ME!
YouTube:    / @thecommoncoder  
Facebook: https://www.facebook.com/profile.php?...
Instagram:   / the.common.coder  
X:   / the_common_codr  
LinkedIn:   / the-common-coder  
Reddit:   / thecommoncoder  
GitHub: https://github.com/the-common-coder
--------------------------------------------------------------------------
💰 AFFILIATE DISCLAIMER
Some links in this description are affiliate links. If you make a purchase through these links, I may earn a small commission at no extra cost to you. Your support helps keep this channel running. Thank you!

#thecommoncoder #vscode #git


Nesta página do site você pode assistir ao vídeo on-line How To Use Git In VS Code Like A Pro! duração 30 minuto 18 segundo em boa qualidade , que foi baixado pelo usuário The Common Coder 10 Julho 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 87,436 vezes e gostou 1.9 mil espectadores. Boa visualização!