Undoes the last commit without rewriting history.
git revert HEAD
to revert the last commit, creating a new commit with the inverse of the commit's changes.git revert HEAD
git revert HEAD
# Reverts the last commit
Git, Commit
Undoes a specified commit without rewriting history.
Uses a binary search algorithm and a given script to find which commit in history introduced a bug.
Uses a binary search algorithm to manually find which commit in history introduced a bug.