mirror of
https://github.com/git/git.git
synced 2024-12-04 15:34:05 +08:00
[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>
This commit is contained in:
parent
9847f7e0db
commit
928f74de22
@ -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…
Reference in New Issue
Block a user