0
How do you push a file from your local system to the GitHub repository using Git?

Open 1 Answers 57 Views Technology

How do you push a file from your local system to the GitHub repository using Git?

1 Answer

0
First, connect the local repository to your remote repository:

git remote add origin [copied web address]      

// Ex: git remote add origin https://github.com/Simplilearn-github/test.git

Second, push your file to the remote repository:

git push origin master
by (54.6k points)
...