memoir/pages/git/reset-files.md

8 lines
105 B
Markdown
Raw Normal View History

2023-05-16 08:50:32 +00:00
# Reset Files
How to reset files from another branch.
```sh
git checkout origin/HEAD -- my/file.md
```