Git - git push


How can we push local changes to a remote repository with SSH?

git push

What is the purpose of the 'get push' command?

To push your changes “upstream” for sharing, you would use the following git push command format:

git push [remote-name][branch-name]
git push origin master

This command pushes committed changes from your local “master” branch upstream to the “origin” server.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License