0 votes
36 views
in Technology by (51.6k points)

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

1 Answer

0 votes
by (51.6k points)
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

Related questions

0 votes
1 answer 35 views
0 votes
1 answer 23 views
0 votes
1 answer 23 views
0 votes
1 answer 27 views
0 votes
1 answer 30 views
0 votes
1 answer 35 views
0 votes
1 answer 32 views
...