git.rst
changeset 1076 9b2eb3c96d84
parent 1032 4decc3e00bb6
child 1089 2c23dfe7517e
--- a/git.rst	Wed Nov 02 15:08:44 2011 +0200
+++ b/git.rst	Thu Nov 03 14:36:14 2011 +0200
@@ -175,6 +175,18 @@
   $ export GIT_CURL_VERBOSE=1
   $ git ...
 
+Push new repo to remote.
+========================
+::
+
+  $ mkdir $REPO
+  $ cd $REPO
+  $ git init
+  $ git add .
+  $ git commit -m "Initial commit"
+  $ git remote add origin https://$USER:$PASS@$HOST/$REPO
+  $ git push -u origin master
+
 Using git to work with SVN offline.
 ===================================