To undo commits, you can simply soft reset, usually just undoing the last commit made, but you can also pass in a reference to the commit ID: git reset HEAD~1 This will leave you at the "haven't ...
Where Git fits in your distributed version control system tool belt Follow these Git commit message guidelines Where system ... and safely fix a mistake with different Git commands. Revert, reset and ...