mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-24 10:52:07 +00:00
Update cheatsheets
This commit is contained in:
@@ -19,7 +19,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Interactively unstage portions of a file:
|
||||
|
||||
`git reset --patch {{path/to/file}}`
|
||||
`git reset {{[-p|--patch]}} {{path/to/file}}`
|
||||
|
||||
- Undo the last commit, keeping its changes (and any further uncommitted changes) in the filesystem:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user