diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-05-09 07:16:07 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-05-09 07:16:07 +0000 |
commit | 91d44c573c59f25cccb2611879c9eab49c55c2bb (patch) | |
tree | 804850a78f961d532dde29dbafb9f6b5cfe2e383 /user-manual.txt | |
parent | 3d30fd50da4218bf2dddc680132f2688108d94e4 (diff) | |
download | git-htmldocs-91d44c573c59f25cccb2611879c9eab49c55c2bb.tar.gz |
Autogenerated HTML docs for v1.5.2-rc2-46-g4675
Diffstat (limited to 'user-manual.txt')
-rw-r--r-- | user-manual.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/user-manual.txt b/user-manual.txt index 67f5b9b6a..13db9699c 100644 --- a/user-manual.txt +++ b/user-manual.txt @@ -1836,12 +1836,12 @@ Now, assume your personal repository is in the directory ~/proj. We first create a new clone of the repository: ------------------------------------------------- -$ git clone --bare proj.git +$ git clone --bare ~/proj proj.git ------------------------------------------------- -The resulting directory proj.git will contains a "bare" git -repository--it is just the contents of the ".git" directory, without -a checked-out copy of a working directory. +The resulting directory proj.git contains a "bare" git repository--it is +just the contents of the ".git" directory, without a checked-out copy of +a working directory. Next, copy proj.git to the server where you plan to host the public repository. You can use scp, rsync, or whatever is most @@ -2372,9 +2372,8 @@ $ git config remote.example.fetch master:refs/remotes/example/master then the following commands will all do the same thing: ------------------------------------------------- -$ git fetch git://example.com/proj.git master:ref/remotes/example/master -$ git fetch example master:ref/remotes/example/master -$ git fetch example example/master +$ git fetch git://example.com/proj.git master:refs/remotes/example/master +$ git fetch example master:refs/remotes/example/master $ git fetch example ------------------------------------------------- |