git how to uncommit commited changes code example Example: how to uncommit in git git reset --soft HEAD^