Git uncommit the last one Jan 1, 1970·1 min Safest option to undo commit and leave everything intact: git reset --soft HEAD^ See this for more info.