How to undo git commits
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
git revert --no-commit b2d25ae
b2d25ae
git revert --no-commit b2d25ae..HEAD
git commit
git commit