摘要:git 如何撤销 commit (未 push) 撤销 commit 一般用 git reset ,语法如下: 1 git reset [ --mixed | --soft | --hard] [<commit ID>] 1.使用参数--mixed(默认参数),如git reset --mixed
阅读全文
随笔分类 - git
摘要:git 如何撤销 commit (未 push) 撤销 commit 一般用 git reset ,语法如下: 1 git reset [ --mixed | --soft | --hard] [<commit ID>] 1.使用参数--mixed(默认参数),如git reset --mixed
阅读全文
|