Browse Source

[PATCH] tutorial note about git branch

Explain that an asterisk will be displayed in front of the current
branch when you run `git branch' to see which are available.

Signed-off-by: Amos Waterland <apw@rossby.metr.ou.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Amos Waterland 20 years ago committed by Junio C Hamano
parent
commit
928f74de22
  1. 1
      Documentation/tutorial.txt

1
Documentation/tutorial.txt

@ -671,6 +671,7 @@ you have, you can say @@ -671,6 +671,7 @@ you have, you can say
git branch

which is nothing more than a simple script around "ls .git/refs/heads".
There will be asterisk in front of the branch you are currently on.

Sometimes you may wish to create a new branch _without_ actually
checking it out and switching to it. If so, just use the command

Loading…
Cancel
Save