ref: 1fe21fede65b2cc7d72dd266a91492be5a71f025
parent: 5f37a591ae54f65d64fb764cc826a078dbe41ea4
author: Fazlul Shahriar <fshahriar@gmail.com>
date: Wed Sep 2 16:06:50 EDT 2020
update git/branch documentation (#8) Co-authored-by: Ori Bernstein <ori@eigenstate.org>
--- a/git.1
+++ b/git.1
@@ -16,7 +16,7 @@
.PP
.B git/branch
[
-.B -a
+.B -adns
]
[
.B -b
@@ -291,17 +291,20 @@
option.
To switch between branches, pass a branch name.
When passed the
-.I -c
-option, the branch will be created if it does not yet exist.
+.I -n
+option, the branch will be created, overwriting existing branch.
When passed the
-.I -o original
+.I -b base
option, the branch created is based off of
-.I original
+.I base
instead of
.I HEAD.
When passed the
.I -s
option, the branch is created but the files are not checked out.
+When passed the
+.I -d
+option, the branch is deleted.
.PP
.B Git/log