Skip to content

Commit 4763868

Browse files
Michael J Grubergitster
authored andcommitted
Documentation/git-clone: Transform description list into item list
so that the list of examples is formatted in the same way as for git-fetch, and, more importantly, the different identation for the code blocks in the examples (compared to the immediately preceding code blocks from url.txt) doesn't look like misformatted, but is clarified by the items' bullets. Signed-off-by: Michael J Gruber <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a3cfb7f commit 4763868

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/git-clone.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ include::urls.txt[]
181181
Examples
182182
--------
183183

184-
Clone from upstream::
184+
* Clone from upstream:
185185
+
186186
------------
187187
$ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6
@@ -190,7 +190,7 @@ $ make
190190
------------
191191

192192

193-
Make a local clone that borrows from the current directory, without checking things out::
193+
* Make a local clone that borrows from the current directory, without checking things out:
194194
+
195195
------------
196196
$ git clone -l -s -n . ../copy
@@ -199,7 +199,7 @@ $ git show-branch
199199
------------
200200

201201

202-
Clone from upstream while borrowing from an existing local directory::
202+
* Clone from upstream while borrowing from an existing local directory:
203203
+
204204
------------
205205
$ git clone --reference my2.6 \
@@ -209,14 +209,14 @@ $ cd my2.7
209209
------------
210210

211211

212-
Create a bare repository to publish your changes to the public::
212+
* Create a bare repository to publish your changes to the public:
213213
+
214214
------------
215215
$ git clone --bare -l /home/proj/.git /pub/scm/proj.git
216216
------------
217217

218218

219-
Create a repository on the kernel.org machine that borrows from Linus::
219+
* Create a repository on the kernel.org machine that borrows from Linus:
220220
+
221221
------------
222222
$ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \

0 commit comments

Comments
 (0)