Git uncommit the last oneJan 1, 1970 One-minute readSafest option to undo commit and leave everything intact:git reset --soft HEAD^ See this for more info.