How to commit to remote git repository

git push

or

git push server_name master

should do the trick, after you have made a commit to your local repository.


All You have to do is git push origin master, where origin is the default name (alias) of Your remote repository and master is the remote branch You want to push Your changes to.

You may also want to check these out:

  1. http://gitimmersion.com/
  2. http://progit.org/book/

You just need to make sure you have the rights to push to the remote repository and do

git push origin master

or simply

git push

Tags:

Git

Git Push