mirror of
https://github.com/cupcakearmy/memoir.git
synced 2025-09-09 17:30:40 +00:00
update to nextra 4
This commit is contained in:
11
content/git/reset-files.md
Normal file
11
content/git/reset-files.md
Normal file
@@ -0,0 +1,11 @@
|
||||
# Reset Files
|
||||
|
||||
How to reset files from another branch.
|
||||
|
||||
```sh
|
||||
# New way
|
||||
git restore my/file.md
|
||||
|
||||
# Old way
|
||||
git checkout origin/HEAD -- my/file.md
|
||||
```
|
Reference in New Issue
Block a user