-
Run the command “git push origin main”. ‘origin’ is the remote name and ‘main’ is the branch name.
-
That will push the changes/commits on your local machine to the remote repository.
-
Run the command “git remote -v”.
-
It will show you fetch and push URLs.
-
You can verify it from Github by refreshing the page of your repository.
- Neha's blog
- Log in or register to post comments
Recent comments