diff options
author | Junio C Hamano <junio@hera.kernel.org> | 2007-03-14 11:19:26 +0000 |
---|---|---|
committer | Junio C Hamano <junio@hera.kernel.org> | 2007-03-14 11:19:26 +0000 |
commit | 103ad7fa163b20b6629d6162e5b261a124e1e486 (patch) | |
tree | 4d3a9d38b101f57e14b36af1aa2c0190e16687a5 /git-branch.html | |
parent | c51fede9f2fdd66e06416d7865b023924b52e659 (diff) | |
download | git-htmldocs-103ad7fa163b20b6629d6162e5b261a124e1e486.tar.gz |
Autogenerated HTML docs for v1.5.0.3-438-gc49b2
Diffstat (limited to 'git-branch.html')
-rw-r--r-- | git-branch.html | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/git-branch.html b/git-branch.html index 937b288d1..bd07c6531 100644 --- a/git-branch.html +++ b/git-branch.html @@ -275,7 +275,7 @@ git-branch(1) Manual Page <div class="verseblock">
<div class="content"><em>git-branch</em> [--color | --no-color] [-r | -a]
[-v [--abbrev=<length> | --no-abbrev]]
-<em>git-branch</em> [-l] [-f] <branchname> [<start-point>]
+<em>git-branch</em> [--track | --no-track] [-l] [-f] <branchname> [<start-point>]
<em>git-branch</em> (-m | -M) [<oldbranch>] <newbranch>
<em>git-branch</em> (-d | -D) [-r] <branchname>…</div></div>
</div>
@@ -289,6 +289,12 @@ and option <tt>-a</tt> shows both.</p> It will start out with a head equal to the one given as <start-point>.
If no <start-point> is given, the branch will be created with a head
equal to that of the currently checked out branch.</p>
+<p>When a local branch is started off a remote branch, git can setup the
+branch so that <a href="git-pull.html">git-pull(1)</a> will appropriately merge from that
+remote branch. If this behavior is desired, it is possible to make it
+the default using the global <tt>branch.autosetupmerge</tt> configuration
+flag. Otherwise, it can be chosen per-branch using the <tt>--track</tt>
+and <tt>--no-track</tt> options.</p>
<p>With a <em>-m</em> or <em>-M</em> option, <oldbranch> will be renamed to <newbranch>.
If <oldbranch> had a corresponding reflog, it is renamed to match
<newbranch>, and a reflog entry is created to remember the branch
@@ -520,7 +526,7 @@ a branch and check it out with a single command.</p> </div>
<div id="footer">
<div id="footer-text">
-Last updated 03-Mar-2007 05:18:14 UTC
+Last updated 14-Mar-2007 11:19:09 UTC
</div>
</div>
</body>
|