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

[PATCH] git-clone documentation

From
QTQuy Tonthat <qtonthat@gmail.com>
Date
Dec 14, 2006, 14:17 UTC
Message-ID
<45815D11.4090609@gmail.com>

When --use-separate-remote is used on git-clone, the remote heads are saved under $GIT_DIR/refs/remotes/origin/, not "$GIT_DIR/remotes/origin/"

Quy
diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt
index 985043f..bfddb21 100644
--- a/Documentation/git-clone.txt
+++ b/Documentation/git-clone.txt
@@ -100,7 +100,7 @@ OPTIONS
 	defined default, typically `/usr/share/git-core/templates`.
 
 --use-separate-remote::
-	Save remotes heads under `$GIT_DIR/remotes/origin/` instead
+	Save remotes heads under `$GIT_DIR/refs/remotes/origin/` instead
 	of `$GIT_DIR/refs/heads/`.  Only the local master branch is
 	saved in the latter. This is the default.
 
Message 1 of 1 in “git-clone documentation”
  1. git-clone documentationQuy Tonthat, Dec 14, 2006

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.