mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-25 02:39:25 +03:00
git-branch: add example to specify starting point (#2563)
This commit is contained in:
parent
8a2f226987
commit
71af945cf2
@ -14,6 +14,10 @@
|
||||
|
||||
`git branch {{branch_name}}`
|
||||
|
||||
- Create new branch based on a specific commit:
|
||||
|
||||
`git branch {{branch_name}} {{commit_hash}}`
|
||||
|
||||
- Rename a branch (must not have it checked out to do this):
|
||||
|
||||
`git branch -m {{old_branch_name}} {{new_branch_name}}`
|
||||
|
Loading…
Reference in New Issue
Block a user