How To Use Git In VS Code Like A Pro!

Опубликовано: 10 Июль 2024
на канале: 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


На этой странице сайта вы можете посмотреть видео онлайн How To Use Git In VS Code Like A Pro! длительностью 30 минут 18 секунд в хорошем качестве, которое загрузил пользователь The Common Coder 10 Июль 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 87,436 раз и оно понравилось 1.9 тысяч зрителям. Приятного просмотра!