threads / patch / 43533

patchgit-clone documentation

Subject: [PATCH] git-clone documentation

## tl;dr

One message between Dec 14, 2006 and Dec 14, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Quy Tonthat· Dec 14, 2006, 14:17 UTC · lore

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
Show changes to Documentation/git-clone.txt +1 −1
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.
 

← back to recent threads