- Published on
How to undo git commits
- Authors

- Name
- Jenny Kim
Undo git commits
๐ Undo only a specific commit
git revert --no-commit b2d25ae
๐ Undo every commit after b2d25ae
git revert --no-commit b2d25ae..HEAD git commit
๐ Then
git commit