Update cheatsheets

This commit is contained in:
ivuorinen
2024-12-13 00:19:14 +00:00
parent 2cf62ce81f
commit 985d3994af
6 changed files with 75 additions and 4 deletions

View File

@@ -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}}`