mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 07:59:34 +00:00
Update cheatsheets
This commit is contained in:
@@ -26,7 +26,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Switch to an existing remote branch:
|
||||
|
||||
`git checkout --track {{remote_name}}/{{branch_name}}`
|
||||
`git checkout {{[-t|--track]}} {{remote_name}}/{{branch_name}}`
|
||||
|
||||
- Discard all unstaged changes in the current directory (see `git reset` for more undo-like commands):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user