# HG changeset patch # User Oleksandr Gavenko # Date 1320422926 -7200 # Node ID 59c7141df3b2f67065c268877501d84f6a65ca88 # Parent ef0805397b5b52a2af57619646b66df44b0cb518# Parent 9b2eb3c96d84356971bd5b3116cff4d0ba82898c merged diff -r ef0805397b5b -r 59c7141df3b2 git.rst --- a/git.rst Fri Nov 04 16:12:20 2011 +0200 +++ b/git.rst Fri Nov 04 18:08:46 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. ===================================