git-branch: update page (#15113)
This commit is contained in:
@@ -23,11 +23,11 @@
|
|||||||
|
|
||||||
`git branch {{branch_name}} {{commit_hash}}`
|
`git branch {{branch_name}} {{commit_hash}}`
|
||||||
|
|
||||||
- Rename a branch (must not have it checked out to do this):
|
- Rename a branch (you must switch to a different branch before doing this):
|
||||||
|
|
||||||
`git branch {{-m|--move}} {{old_branch_name}} {{new_branch_name}}`
|
`git branch {{-m|--move}} {{old_branch_name}} {{new_branch_name}}`
|
||||||
|
|
||||||
- Delete a local branch (must not have it checked out to do this):
|
- Delete a local branch (you must switch to a different branch before doing this):
|
||||||
|
|
||||||
`git branch {{-d|--delete}} {{branch_name}}`
|
`git branch {{-d|--delete}} {{branch_name}}`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user