Setting Up GitHub
Last updated
Last updated
If you don’t already have one, create a GitHub account at GitHub.
Provide me with your GitHub username so I can invite you to the project repository.
To connect VS Code to GitHub, watch this video 2-minute video.
Create a Folder: On your computer, create a folder where you want to store the project files.
Open the Folder in VS Code: Open the folder in VS Code by navigating to it in the File Explorer or dragging it into the VS Code window.
Open the terminal in VS Code (see instructions above) and run the following commands:
Replace <repository-link>
with the link I provided and <folder-name>
with the name of the folder containing the project source code.
Go to Create a Repository.
Enter a name for your repository (e.g., your directory name).
Important: Select Private for the repository.
Click Create Repository.
Open the terminal in VS Code and run the following commands:
(Replace <new-repository-URL> with the new repository URL you've just created )
After that, run the following command :
6. Verify the Setup
Refresh your GitHub repository page. You should now see your project files uploaded successfully.