summaryrefslogtreecommitdiffstats
path: root/git-branch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-10 16:28:17 -0700
committerJunio C Hamano <gitster@pobox.com>2012-09-10 16:28:17 -0700
commiteccdd4a4b39010678cef09a1c28c964396d2cc84 (patch)
tree2d65a5eb275d2fae69f4bfe3fd046907a0cf1037 /git-branch.txt
parentf335393cb267ed983d1b9d6574b95d6f26bd5a85 (diff)
downloadgit-htmldocs-eccdd4a4b39010678cef09a1c28c964396d2cc84.tar.gz
Autogenerated HTML docs for v1.7.12-315-g682c
Diffstat (limited to 'git-branch.txt')
-rw-r--r--git-branch.txt14
1 files changed, 13 insertions, 1 deletions
diff --git a/git-branch.txt b/git-branch.txt
index 47235bea0..9c1d2f178 100644
--- a/git-branch.txt
+++ b/git-branch.txt
@@ -13,6 +13,8 @@ SYNOPSIS
[--column[=<options>] | --no-column]
[(--merged | --no-merged | --contains) [<commit>]] [<pattern>...]
'git branch' [--set-upstream | --track | --no-track] [-l] [-f] <branchname> [<start-point>]
+'git branch' (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]
+'git branch' --unset-upstream [<branchname>]
'git branch' (-m | -M) [<oldbranch>] <newbranch>
'git branch' (-d | -D) [-r] <branchname>...
'git branch' --edit-description [<branchname>]
@@ -48,7 +50,7 @@ branch so that 'git pull' will appropriately merge from
the remote-tracking branch. This behavior may be changed via the global
`branch.autosetupmerge` configuration flag. That setting can be
overridden by using the `--track` and `--no-track` options, and
-changed later using `git branch --set-upstream`.
+changed later using `git branch --set-upstream-to`.
With a `-m` or `-M` option, <oldbranch> will be renamed to <newbranch>.
If <oldbranch> had a corresponding reflog, it is renamed to match
@@ -173,6 +175,16 @@ start-point is either a local or remote-tracking branch.
like `--track` would when creating the branch, except that where
branch points to is not changed.
+-u <upstream>::
+--set-upstream-to=<upstream>::
+ Set up <branchname>'s tracking information so <upstream> is
+ considered <branchname>'s upstream branch. If no <branchname>
+ is specified, then it defaults to the current branch.
+
+--unset-upstream::
+ Remove the upstream information for <branchname>. If no branch
+ is specified it defaults to the current branch.
+
--edit-description::
Open an editor and edit the text to explain what the branch is
for, to be used by various other commands (e.g. `request-pull`).