projects
/
swc-version-control-git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7af9993
)
cheat-sheet.md: Mention the default root for 'git branch ...'
master
author
W. Trevor King
<wking@tremily.us>
Tue, 29 Apr 2014 22:09:21 +0000
(15:09 -0700)
committer
W. Trevor King
<wking@tremily.us>
Tue, 29 Apr 2014 22:09:56 +0000
(15:09 -0700)
From git-branch(1):
git branch [options] <branchname> [<start-point>]
cheat-sheet.md
patch
|
blob
|
history
diff --git
a/cheat-sheet.md
b/cheat-sheet.md
index c17f8631cf68d95a9e80b5785f8d2bb3b1700ebe..6c71bbfbcc5a7cd5bac0a111cd24306d57f04afe 100644
(file)
--- a/
cheat-sheet.md
+++ b/
cheat-sheet.md
@@
-132,7
+132,8
@@
Branches
$ git branch
-* Make a new branch (e.g. `some-feature`):
+* Make a new branch (e.g. `some-feature`) based on the current `HEAD`
+ commit:
$ git branch some-feature