To connect visual studio code to GitHub account or to push visual studio project to GitHub repository the steps are as follow;
Step1
Make sure you have created your GitHub account and you have data. Open your visual studio and open your project folder into visual studio.
Step2 **
Open your GitHub account on the right side of your account click on this symbol a list will appear then click on new, give a name to your repository and the click on create repository. Copy the URL on the search bar of the page that appear when you click on create repository.
*Step3 *
Go to your visual studio click on source control then click on initialization repository and give any simple message on the search bar that appear. Then press control + enter then click on yes
**Step4
Click on the 3 dots in that visual studio then om push to GitHub a small message will appear then click on Add remote. A search bar will appear then past the URL of the repository you copy and press enter and give it a remote name and then enter. After this pushing will start.
Step5
Click on the again on the 3 dots and click on push to GitHub select the URL you just pasted below and then enter. After loading it will open GitHub login form file the form correctly and then login. It will load after it will stop that means it has been pushed success.
Step6
Open your GitHub account and refresh , after refreshing your files in your project folder in your visual studio will appear on your account.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)