Git 2 · Undoing changes
Revert a commit safely
Create a new commit that undoes an earlier one. Safe on shared branches.
git revert abc1234
Git 2 · Undoing changes
Create a new commit that undoes an earlier one. Safe on shared branches.
git revert abc1234
Was this page helpful?