mirror of
https://github.com/cupcakearmy/memoir.git
synced 2025-09-05 23:40:41 +00:00
reset files
This commit is contained in:
7
pages/git/reset-files.md
Normal file
7
pages/git/reset-files.md
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Reset Files
|
||||||
|
|
||||||
|
How to reset files from another branch.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git checkout origin/HEAD -- my/file.md
|
||||||
|
```
|
Reference in New Issue
Block a user