git-branch: Add comment that a branch must not be currently checked out in order to delete it (#2651)
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
54a75ee772
commit
52b6af039e
@@ -22,6 +22,6 @@
|
|||||||
|
|
||||||
`git branch -m {{old_branch_name}} {{new_branch_name}}`
|
`git branch -m {{old_branch_name}} {{new_branch_name}}`
|
||||||
|
|
||||||
- Delete a local branch:
|
- Delete a local branch (must not have it checked out to do this):
|
||||||
|
|
||||||
`git branch -d {{branch_name}}`
|
`git branch -d {{branch_name}}`
|
||||||
|
Reference in New Issue
Block a user