- Published on
How to undo git commits
- Authors
- Name
- Jenny Kim
Undo git commits
๐ Undo only a specific commit
git revert --no-commit b2d25ae
b2d25ae
๐ Undo every commit after git revert --no-commit b2d25ae..HEAD
git commit
๐ Then
git commit