TIL How to Revert Last Git Commit but Keep Changes
Today I learned how to revert the last Git commit but keep the changes:
git reset --soft HEAD ~1
Fix more common git mistakes: Include.js.
Further Reading⌗
Read other posts
Today I learned how to revert the last Git commit but keep the changes:
git reset --soft HEAD ~1
Fix more common git mistakes: Include.js.