From d97debc2d98304277e0ad69ec91ccc92dea62a63 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 29 Apr 2014 15:09:21 -0700 Subject: [PATCH] cheat-sheet.md: Mention the default root for 'git branch ...' From git-branch(1): git branch [options] [] --- cheat-sheet.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cheat-sheet.md b/cheat-sheet.md index c17f863..6c71bbf 100644 --- 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 -- 2.26.2