author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Fri, 04 Nov 2011 18:08:46 +0200 (2011-11-04) | |
changeset 1080 | 59c7141df3b2 |
parent 1079 | ef0805397b5b (current diff) |
parent 1076 | 9b2eb3c96d84 (diff) |
child 1081 | 88b803cfab2b |
--- 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. ===================================