git-checkout: "modifications" --> "changes"

This commit is contained in:
Waldir Pimenta
2017-05-15 17:54:24 +01:00
committed by Starbeamrainbowlabs
parent 6f9dbe9fce
commit 05780d6183

View File

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