Skip to contentSkip to conversation

git-clone documentation

PATCH New Quy Tonthat 1 participant 1 message Aug 11, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-clone documentation

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

Documentation/git-clone.txt +1 -1
index 985043f..bfddb21 100644
@@ -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.