Skip to content

Commit

Permalink
user-manual: fix clone and fetch typos
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
J. Bruce Fields authored and Junio C Hamano committed May 8, 2007
1 parent 53a5824 commit 52c8003
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Documentation/user-manual.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
-------------------------------------------------

Expand Down

0 comments on commit 52c8003

Please sign in to comment.