git-*: convert options to longform and minor fixes (#13441)
Co-authored-by: spageektti <git@spageektti.cc> Co-authored-by: Fazle Arefin <fazlearefin@users.noreply.github.com>
This commit is contained in:
@@ -25,11 +25,11 @@
|
||||
|
||||
- Rename a branch (must not have it checked out to do this):
|
||||
|
||||
`git branch -m {{old_branch_name}} {{new_branch_name}}`
|
||||
`git branch {{--move|-m}} {{old_branch_name}} {{new_branch_name}}`
|
||||
|
||||
- Delete a local branch (must not have it checked out to do this):
|
||||
|
||||
`git branch -d {{branch_name}}`
|
||||
`git branch {{--delete|-d}} {{branch_name}}`
|
||||
|
||||
- Delete a remote branch:
|
||||
|
||||
|
Reference in New Issue
Block a user