@matheusbsbs / matheus-bagliano / commits / 52c80037e4
Fork 0

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>

J. Bruce Fields committed May 7, 2007 at 23:34 UTC 52c80037e423c7e7806cf2f198ed978dc36fa654
1 file changed +6 -7
Documentation/user-manual.txt
+6 -7
@@ -1836,12 +1836,12 @@ Now, assume your personal repository is in the directory ~/proj. We
1836 first create a new clone of the repository:
1837
1838 -------------------------------------------------
1839 -$ git clone --bare proj.git
1839 +$ git clone --bare ~/proj proj.git
1840 -------------------------------------------------
1841
1842 -The resulting directory proj.git will contains a "bare" git
1843 -repository--it is just the contents of the ".git" directory, without
1844 -a checked-out copy of a working directory.
1842 +The resulting directory proj.git contains a "bare" git repository--it is
1843 +just the contents of the ".git" directory, without a checked-out copy of
1844 +a working directory.
1845
1846 Next, copy proj.git to the server where you plan to host the
1847 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
2372 then the following commands will all do the same thing:
2373
2374 -------------------------------------------------
2375 -$ git fetch git://example.com/proj.git master:ref/remotes/example/master
2376 -$ git fetch example master:ref/remotes/example/master
2377 -$ git fetch example example/master
2375 +$ git fetch git://example.com/proj.git master:refs/remotes/example/master
2376 +$ git fetch example master:refs/remotes/example/master
2377 $ git fetch example
2378 -------------------------------------------------
2379