mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 21:15:35 +02:00
git-checkout: "modifications" --> "changes"
This commit is contained in:
parent
6f9dbe9fce
commit
05780d6183
1 changed files with 2 additions and 2 deletions
|
@ -14,11 +14,11 @@
|
||||||
|
|
||||||
`git checkout --track {{remote_name}}/{{branch_name}}`
|
`git checkout --track {{remote_name}}/{{branch_name}}`
|
||||||
|
|
||||||
- Discard all unstaged modifications in the current folder (see `git reset` for more undo-like commands):
|
- Discard all unstaged changes in the current folder (see `git reset` for more undo-like commands):
|
||||||
|
|
||||||
`git checkout .`
|
`git checkout .`
|
||||||
|
|
||||||
- Discard unstaged modifications to a given file:
|
- Discard unstaged changes to a given file:
|
||||||
|
|
||||||
`git checkout {{file_name}}`
|
`git checkout {{file_name}}`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue