diff options
author | Matthieu Moy <Matthieu.Moy@imag.fr> | 2010-11-02 16:31:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-03 09:20:48 -0700 |
commit | 4eec6f988dc1638ff5b5ee3131f7452d29042a61 (patch) | |
tree | cc76df3a7b0cccf5b7df5204a2fe89b39672eefb /Documentation/git-branch.txt | |
parent | 45dfd40396b47720387c31c4140eb3aebdf06cf7 (diff) | |
download | git-4eec6f988dc1638ff5b5ee3131f7452d29042a61.tar.gz |
git-branch.txt: mention --set-upstream as a way to change upstream configuration
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-branch.txt')
-rw-r--r-- | Documentation/git-branch.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index 7f23c5682f..9106d38e40 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -41,7 +41,8 @@ When a local branch is started off a remote-tracking branch, git sets up the 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. +overridden by using the `--track` and `--no-track` options, and +changed later using `git branch --set-upstream`. With a '-m' or '-M' option, <oldbranch> will be renamed to <newbranch>. If <oldbranch> had a corresponding reflog, it is renamed to match |