Git放弃本地更改

2017-03-02  本文已影响167人  简疏志

在本地修改的文件,If unstaged, 而且我也想放弃commit.

git checkout -- .

上一篇 下一篇

猜你喜欢

热点阅读