Skip to content

Commit 4eec6f9

Browse files
moygitster
authored andcommitted
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>
1 parent 45dfd40 commit 4eec6f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/git-branch.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ When a local branch is started off a remote-tracking branch, git sets up the
4141
branch so that 'git pull' will appropriately merge from
4242
the remote-tracking branch. This behavior may be changed via the global
4343
`branch.autosetupmerge` configuration flag. That setting can be
44-
overridden by using the `--track` and `--no-track` options.
44+
overridden by using the `--track` and `--no-track` options, and
45+
changed later using `git branch --set-upstream`.
4546

4647
With a '-m' or '-M' option, <oldbranch> will be renamed to <newbranch>.
4748
If <oldbranch> had a corresponding reflog, it is renamed to match

0 commit comments

Comments
 (0)