@@ -34,12 +34,11 @@ Note that this will create the new branch, but it will not switch the
3434working tree to it; use "git checkout <newbranch>" to switch to the
3535new branch.
3636
37- When a local branch is started off a remote branch, git can setup the
38- branch so that linkgit:git-pull[1] will appropriately merge from that
39- remote branch. If this behavior is desired, it is possible to make it
40- the default using the global `branch.autosetupmerge` configuration
41- flag. Otherwise, it can be chosen per-branch using the `--track`
42- and `--no-track` options.
37+ When a local branch is started off a remote branch, git sets up the
38+ branch so that linkgit:git-pull[1] will appropriately merge from
39+ the remote branch. This behavior may be changed via the global
40+ `branch.autosetupmerge` configuration flag. That setting can be
41+ overridden by using the `--track` and `--no-track` options.
4342
4443With a '-m' or '-M' option, <oldbranch> will be renamed to <newbranch>.
4544If <oldbranch> had a corresponding reflog, it is renamed to match
@@ -105,19 +104,19 @@ OPTIONS
105104 Display the full sha1s in output listing rather than abbreviating them.
106105
107106--track::
108- Set up configuration so that git-pull will automatically
109- retrieve data from the remote branch. Use this if you always
110- pull from the same remote branch into the new branch, or if you
111- don't want to use "git pull <repository> <refspec>" explicitly. Set the
112- branch.autosetupmerge configuration variable to true if you
113- want git-checkout and git-branch to always behave as if
114- '--track' were given.
107+ When creating a new branch, set up configuration so that git-pull
108+ will automatically retrieve data from the start point, which must be
109+ a branch. Use this if you always pull from the same upstream branch
110+ into the new branch, and if you don't want to use "git pull
111+ <repository> <refspec>" explicitly. This behavior is the default
112+ when the start point is a remote branch. Set the
113+ branch.autosetupmerge configuration variable to `false` if you want
114+ git-checkout and git-branch to always behave as if '--no-track' were
115+ given. Set it to `always` if you want this behavior when the
116+ start-point is either a local or remote branch.
115117
116118--no-track::
117- When a branch is created off a remote branch,
118- set up configuration so that git-pull will not retrieve data
119- from the remote branch, ignoring the branch.autosetupmerge
120- configuration variable.
119+ Ignore the branch.autosetupmerge configuration variable.
121120
122121<branchname>::
123122 The name of the branch to create or delete.
0 commit comments