gg

Git like Mercurial

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.

Options

-d
-delete
delete the given branches
-f
-force
force
-r rev
revision to place branches on