Files
memoir/content/git/reset-files.md
2025-09-06 19:19:45 +02:00

149 B

Reset Files

How to reset files from another branch.

# New way
git restore my/file.md

# Old way
git checkout origin/HEAD -- my/file.md