Git push and pull with remote repository

Quick list of the Git commands.

On the remote server:

$ mkdir /home/scm/app.git
$ cd /home/scm/app.git
$ git --bare init

On your local Git repository:

$ git remote add origin ssh://
$ git push origin master

Useful commands:

git config --add hooks.mailinglist ""

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>