How to Commit and Push to Github from VSCode (2024 Update)

Publicado em: 09 Abril 2024
no canal de: The Code City
70,243
909

In this video, I'll show you how you can commit and push code to github from vscode. Visual Studio Code (vscode) is a very popular IDE to write code, and it can help you to commit and push code to github without leaving the editor.
You'll need to have git installed in your system in order to push code to github from vscode. If you don't have git already installed in your system, check the video below:
Install Git:    • How to Install Git 2.4 on Windows 10/...  

☕Buy me a coffee: https://www.buymeacoffee.com/thecodecity
🌐Connect with me:
- TikTok: tiktok.com/@thecodecity
- Twitter:   / thecodecity  
- Instagram:   / thecodecity  
- Website: https://thecodecity.com

Steps to commit and push to Github from VSCode:
1. Initialize local repository
2. Add the files to be tracked by git: git add .
3. Commit the changes: git commit -m "your message here"
4. Add Origin: git remote add origin git-repo-link.git
5. Push to github: git push -u origin master

By the end of this video, you'll have commited code in your visual studio code, and have pushed code to github from within vscode.
If you have any problems, let me know in the comments below.


Nesta página do site você pode assistir ao vídeo on-line How to Commit and Push to Github from VSCode (2024 Update) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário The Code City 09 Abril 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 70,243 vezes e gostou 909 espectadores. Boa visualização!