Note that git-branch will not automatically checkout the new branch
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:34 UTC
46749204e97290a0bf20e988d0356f0daba99347
1 file changed
+4
Documentation/git-branch.txt
+4
@@ -26,6 +26,10 @@ It will start out with a head equal to the one given as <start-point>.
26
If no <start-point> is given, the branch will be created with a head
27
equal to that of the currently checked out branch.
28
29
+Note that this will create the new branch, but it will not switch the
30
+working tree to it; use "git checkout <newbranch>" to switch to the
31
+new branch.
32
+
33
When a local branch is started off a remote branch, git can setup the
34
branch so that gitlink:git-pull[1] will appropriately merge from that
35
remote branch. If this behavior is desired, it is possible to make it