uncommit the last transaction git code example Example: how to uncommit in git git reset --soft HEAD^