*: replace file(s)
syntax and add path/to/
to more things (#9592)
* Fix file(s) and more path/to * Update pages.it/common/rm.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com> * thanks emily your suggestion was dogshit https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
|
||||
- Discard unstaged changes to a given file:
|
||||
|
||||
`git checkout {{filename}}`
|
||||
`git checkout {{path/to/file}}`
|
||||
|
||||
- Replace a file in the current directory with the version of it committed in a given branch:
|
||||
|
||||
`git checkout {{branch_name}} -- {{filename}}`
|
||||
`git checkout {{branch_name}} -- {{path/to/file}}`
|
||||
|
Reference in New Issue
Block a user