mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-22 00:51:10 +00:00
Update cheatsheets
This commit is contained in:
@@ -30,11 +30,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- 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