How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)

  Рет қаралды 3,941

Infinite Codes

2 ай бұрын

How to Push Code to GitHub from Visual Studio Code & Create a GitHub Repository (2024 updated)
In this video, I will show you how to create a GitHub repository on github.com, and then how to clone the repository from within VS Code by linking your VSCode to your GitHub account. I will walk you through changing files in VS Code and then committing the changes and then how to push the code from visual studio to github. All of it without using the command line.
The steps are:
1. Save file
2. Add file to staged changes
3. Write a commit message
4. Commit the staged changes
5. Push changes to GitHub (Sync)
I will also show you how to configure your user.name and user.email without having to leave Visual Studio.
Lastly, I will show you how to unlink your VSCode from your github account.
For all of this you won't need to use the command line / terminal. All you need is VS Code and your browser to access github.com. This will work on Mac, Windows or Linux the same way. It will work for any project / repository hosted on GitHub, regardless if Python, Javascript, React or other project.
Enjoy!

Пікірлер
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 119 МЛН
didn't want to let me in #tiktok
00:20
Анастасия Тарасова
Рет қаралды 12 МЛН
Joven bailarín noquea a ladrón de un golpe #nmas #shorts
00:17
顔面水槽がブサイク過ぎるwwwww
00:58
はじめしゃちょー(hajime)
Рет қаралды 119 МЛН