From: Amos Waterland Date: Mon, 29 Aug 2005 04:05:36 +0000 (-0500) Subject: [PATCH] tutorial note about git branch X-Git-Tag: v0.99.6~66 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=928f74de22536129b696218073a3940ae4ab1199;p=git.git [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 Signed-off-by: Junio C Hamano --- diff --git a/Documentation/tutorial.txt b/Documentation/tutorial.txt index 997e9582..866dbbe9 100644 --- a/Documentation/tutorial.txt +++ b/Documentation/tutorial.txt @@ -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