Article Introduction:How to undo the commit after gitcommit: 1. Use git revert to undo the commit; 2. Use git reset to undo the commit.
2023-07-27 comment 0 14573