1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 15:35:27 +02:00

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