diff options
author | Carlos Martín Nieto <cmn@elego.de> | 2012-08-30 19:23:12 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-08-30 12:07:28 -0700 |
commit | b84869ef14081b298a4ab825219221ccfcb2a3ba (patch) | |
tree | 6fea49e42eb35e4e8d5e826b2e9f0c37597faafd /Documentation/git-branch.txt | |
parent | 6183d826ba62ec94ccfcb8f6e3b8d43e3e338703 (diff) | |
download | git-b84869ef14081b298a4ab825219221ccfcb2a3ba.tar.gz git-b84869ef14081b298a4ab825219221ccfcb2a3ba.tar.xz |
branch: add --unset-upstream option
We have ways of setting the upstream information, but if we want to
unset it, we need to resort to modifying the configuration manually.
Teach branch an --unset-upstream option that unsets this information.
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-branch.txt')
-rw-r--r-- | Documentation/git-branch.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index e41c4b55f..9c1d2f178 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -14,6 +14,7 @@ SYNOPSIS [(--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>] @@ -180,6 +181,10 @@ start-point is either a local or remote-tracking branch. 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`). |