Git with less typing

gg branch

gg branch [-d] [-f] [-r REV] [NAME [...]]

list or manage branches

Branches are references to commits to help track lines of development. Branches are unversioned and can be moved, renamed, and deleted.

Creating or updating to a branch causes it to be marked as active. When a commit is made, the active branch will advance to the new commit. A plain gg update will also advance an active branch, if possible. If the revision specifies a branch with an upstream, then any new branch will use the named branch’s upstream.


delete the given branches
-r rev
revision to place branches on
-p regexp
-pattern regexp
regexp of branches to list (can be specified multiple times)
-sort order
sort order when listing: 'name' or 'date'. May be prefixed by '-' for descending.