@hengbao
2018-06-04T03:11:48.000000Z
字数 210
阅读 1107
git
如果不小心 弄错了 git add后 , 又 git commit 了。 先使用
git log 查看节点 ,会出现下面这样的文字:
commit xxxxxxxxxxxxxxxxxxxxxxxxxxMerge:Author:Date:
git reset commit_id
其中,commit_id对应上面git log查出的commit后面的内容。
