diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2007-05-07 23:34:26 -0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-07 21:25:09 -0700 |
commit | 52c80037e423c7e7806cf2f198ed978dc36fa654 (patch) | |
tree | 1f1482b598022b1942dee447396b395368b391a3 /Documentation | |
parent | 53a58245863eff3d70aaa3ac75d7d57e843fc91d (diff) | |
download | git-52c80037e423c7e7806cf2f198ed978dc36fa654.tar.gz git-52c80037e423c7e7806cf2f198ed978dc36fa654.tar.xz |
user-manual: fix clone and fetch typos
More typo fixes from Santi Béjar, plus a couple other mistakes I noticed
along the way.
Cc: Santi Béjar <sbejar@gmail.com>
Signed-off-by: "J. Bruce Fields" <bfields@citi.umich.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/user-manual.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Documentation/user-manual.txt b/Documentation/user-manual.txt index 67f5b9b6a..13db9699c 100644 --- a/Documentation/user-manual.txt +++ b/Documentation/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 ------------------------------------------------- |