diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-05-29 16:57:17 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-29 16:57:17 -0700 |
commit | c710296399a86586e3a5e24ea8519ea2442ab7cf (patch) | |
tree | eb0d0bf25b3098a12d15f4a2921f16ecaaa2756f /git-checkout.html | |
parent | b6595471f5299e8b13181e09072b486dd0ad6261 (diff) | |
download | git-htmldocs-c710296399a86586e3a5e24ea8519ea2442ab7cf.tar.gz |
Autogenerated HTML docs for v1.8.3-101-g727a4
Diffstat (limited to 'git-checkout.html')
-rw-r--r-- | git-checkout.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git-checkout.html b/git-checkout.html index f734c98a1..3f0dbda2a 100644 --- a/git-checkout.html +++ b/git-checkout.html @@ -927,9 +927,9 @@ entries; instead, unmerged entries are ignored.</p></div> "--track" in <a href="git-branch.html">git-branch(1)</a> for details.
</p>
<div class="paragraph"><p>If no <em>-b</em> option is given, the name of the new branch will be
-derived from the remote-tracking branch. If "remotes/" or "refs/remotes/"
-is prefixed it is stripped away, and then the part up to the
-next slash (which would be the nickname of the remote) is removed.
+derived from the remote-tracking branch, by looking at the local part of
+the refspec configured for the corresponding remote, and then stripping
+the initial part up to the "*".
This would tell us to use "hack" as the local branch when branching
off of "origin/hack" (or "remotes/origin/hack", or even
"refs/remotes/origin/hack"). If the given name has no slash, or the above
@@ -1360,7 +1360,7 @@ $ git add frotz</code></pre> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-04-22 12:12:24 PDT
+Last updated 2013-05-29 16:56:14 PDT
</div>
</div>
</body>
|