git撤消commit

git reset --soft HEAD^
原文地址:https://www.cnblogs.com/liaozhenghan/p/13371286.html