git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 4/4] Documentation/git-clone: Transform description list into item list

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Mar 21, 2010, 17:30 UTC
Message-ID
<e42082555a7956ada34713d2972d05bc3950d757.1269192495.git.git@drmicha.warpmail.net>
In-Reply-To
<cover.1269192495.git.git@drmicha.warpmail.net>

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 <git@drmicha.warpmail.net>
---
 Documentation/git-clone.txt |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 43cfba0..dc7d3d1 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -187,7 +187,7 @@ include::urls.txt[]
 Examples
 --------
 
-Clone from upstream::
+* Clone from upstream:
 +
 ------------
 $ git clone git://git.kernel.org/pub/scm/.../linux-2.6 my2.6
@@ -196,7 +196,7 @@ $ make
 ------------
 
 
-Make a local clone that borrows from the current directory, without checking things out::
+* Make a local clone that borrows from the current directory, without checking things out:
 +
 ------------
 $ git clone -l -s -n . ../copy
@@ -205,7 +205,7 @@ $ git show-branch
 ------------
 
 
-Clone from upstream while borrowing from an existing local directory::
+* Clone from upstream while borrowing from an existing local directory:
 +
 ------------
 $ git clone --reference my2.6 \
@@ -215,14 +215,14 @@ $ cd my2.7
 ------------
 
 
-Create a bare repository to publish your changes to the public::
+* Create a bare repository to publish your changes to the public:
 +
 ------------
 $ git clone --bare -l /home/proj/.git /pub/scm/proj.git
 ------------
 
 
-Create a repository on the kernel.org machine that borrows from Linus::
+* Create a repository on the kernel.org machine that borrows from Linus:
 +
 ------------
 $ git clone --bare -l -s /pub/scm/.../torvalds/linux-2.6.git \
-- 
1.7.0.2.358.g30511
Previous: Michael J Gruber
Message 5 of 5 in “Various unrelated documentation fixes”
  1. 0/4 Various unrelated documentation fixesMichael J Gruber, Mar 21, 2010
  2. 1/4 Documentation/git-reflog: Fix formatting of command listsMichael J Gruber, Mar 21, 2010
  3. 2/4 Documentation/gitdiffcore: Remove misleading date in headingMichael J Gruber, Mar 21, 2010
  4. 3/4 Documentation/urls: Remove spurious example markersMichael J Gruber, Mar 21, 2010
  5. 4/4 Documentation/git-clone: Transform description list into item listMichael J Gruber, Mar 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.