diff --git a/pages/common/git-branch.md b/pages/common/git-branch.md index df72cb84af..295d245960 100644 --- a/pages/common/git-branch.md +++ b/pages/common/git-branch.md @@ -11,6 +11,10 @@ `git branch -a` +- Show the name of the current branch: + +`git branch --show-current` + - Create new branch based on the current commit: `git branch {{branch_name}}`