git-branch: add example to show current branch (#3677)

This commit is contained in:
Waldir Pimenta
2019-12-23 23:09:29 +00:00
committed by Zlatan Vasović
parent b0c5a551ad
commit 9b7cbf8587

View File

@@ -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}}`