summaryrefslogtreecommitdiffstats
path: root/git-branch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2006-11-24 12:10:55 +0000
committerJunio C Hamano <junio@hera.kernel.org>2006-11-24 12:10:55 +0000
commitfe9acab71e9360742448deb57e6ae021f9ac66d5 (patch)
tree4ba8bdaf975e01a54b958aaf699d347b0ed2575f /git-branch.txt
parent9f292e7bac14ec22b2dd8285e7f4ae7d21078e2b (diff)
downloadgit-htmldocs-fe9acab71e9360742448deb57e6ae021f9ac66d5.tar.gz
Autogenerated HTML docs for v1.4.4.1-g634b8
Diffstat (limited to 'git-branch.txt')
-rw-r--r--git-branch.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/git-branch.txt b/git-branch.txt
index d43ef1dec..537676081 100644
--- a/git-branch.txt
+++ b/git-branch.txt
@@ -8,14 +8,16 @@ git-branch - List, create, or delete branches.
SYNOPSIS
--------
[verse]
-'git-branch' [-r]
+'git-branch' [-r] [-a]
'git-branch' [-l] [-f] <branchname> [<start-point>]
'git-branch' (-d | -D) <branchname>...
DESCRIPTION
-----------
-With no arguments given (or just `-r`) a list of available branches
+With no arguments given a list of existing branches
will be shown, the current branch will be highlighted with an asterisk.
+Option `-r` causes the remote-tracking branches to be listed,
+and option `-a` shows both.
In its second form, a new branch named <branchname> will be created.
It will start out with a head equal to the one given as <start-point>.
@@ -45,7 +47,10 @@ OPTIONS
a branch that already exists with the same name.
-r::
- List only the "remote" branches.
+ List the remote-tracking branches.
+
+-a::
+ List both remote-tracking branches and local branches.
<branchname>::
The name of the branch to create or delete.