Fix formatting for urls section of fetch, pull, and push manpages
Updated to make the nroff'ed man pages look nicer. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Signed-off-by: Junio C Hamano <junkio@cox.net>
Theodore Tso committed
Dec 30, 2006 at 23:11 UTC
63c97ce228f2d2697a8ed954a9592dfb5f286338
1 file changed
+14
-12
Documentation/urls.txt
+14
-12
@@ -41,9 +41,10 @@ file in `$GIT_DIR/remotes` directory can be given; the
41
named file should be in the following format:
42
43
------------
44
-URL: one of the above URL format
45
-Push: <refspec>
46
-Pull: <refspec>
44
+ URL: one of the above URL format
45
+ Push: <refspec>
46
+ Pull: <refspec>
47
+
48
------------
49
50
Then such a short-hand is specified in place of
@@ -57,10 +58,11 @@ Or, equivalently, in the `$GIT_DIR/config` (note the use
58
of `fetch` instead of `Pull:`):
59
60
------------
60
-[remote "<remote>"]
61
- url = <url>
62
- push = <refspec>
63
- fetch = <refspec>
61
+ [remote "<remote>"]
62
+ url = <url>
63
+ push = <refspec>
64
+ fetch = <refspec>
65
+
66
------------
67
68
The name of a file in `$GIT_DIR/branches` directory can be
@@ -73,14 +75,14 @@ without the fragment is equivalent to have this in the
75
corresponding file in the `$GIT_DIR/remotes/` directory.
76
77
------------
76
-URL: <url>
77
-Pull: refs/heads/master:<remote>
78
-------------
78
+ URL: <url>
79
+ Pull: refs/heads/master:<remote>
80
81
+------------
82
83
while having `<url>#<head>` is equivalent to
84
85
------------
84
-URL: <url>
85
-Pull: refs/heads/<head>:<remote>
86
+ URL: <url>
87
+ Pull: refs/heads/<head>:<remote>
88
------------