2015-12-01 直前のコミットをなかったことにする Git 変更されたファイルを残す git reset --soft HEAD^ 変更されたファイルを残さない git reset --hard HEAD^