3 ms·
I am surprised it didn't cover reverting back a file to old version: 1. Check the diff: git diff <commit hash> <file> 2. Revert back: git reset <commit hash>
by zengr 15y ago
I am surprised it didn't cover reverting back a file to old version:
1. Check the diff: git diff <commit hash> <file>
2. Revert back: git reset <commit hash> <file>