mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-27 01:53:16 +00:00
Update cheatsheets
This commit is contained in:
@@ -28,11 +28,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`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}}`
|
||||
|
||||
- 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}}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user