Add documentation for --track and --no-track to the git-branch docs.
Signed-off-by: Federico Mena Quintero <federico@gnu.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Federico Mena Quintero committed
Oct 2, 2007 at 18:33 UTC
84d176cef65ad23e11643d463c69ad313b728eda
1 file changed
+15
Documentation/git-branch.txt
+15
@@ -91,6 +91,21 @@ OPTIONS
91
--no-abbrev::
92
Display the full sha1s in output listing rather than abbreviating them.
93
94
+--track::
95
+ Set up configuration so that git-pull will automatically
96
+ retrieve data from the remote branch. Use this if you always
97
+ pull from the same remote branch into the new branch, or if you
98
+ don't want to use "git pull <repository> <refspec>" explicitly. Set the
99
+ branch.autosetupmerge configuration variable to true if you
100
+ want git-checkout and git-branch to always behave as if
101
+ '--track' were given.
102
+
103
+--no-track::
104
+ When -b is given and a branch is created off a remote branch,
105
+ set up configuration so that git-pull will not retrieve data
106
+ from the remote branch, ignoring the branch.autosetupmerge
107
+ configuration variable.
108
+
109
<branchname>::
110
The name of the branch to create or delete.
111
The new branch name must pass all checks defined by