push -- send local repository changes to remote
To send local commits to remote repository, use git push:
$ git push Counting objects: 10, done. Compressing objects: 100% (8/8), done. Writing objects: 100% (8/8), 984 bytes, done. Total 8 (delta 4), reused 0 (delta 0) To git@github.com:pmichaud/book.git 8d93fcb..a2886d4 master -> master $
This works if you have write authorization to the remote repository