git 去除本地所有没有保存的修改

git 去除本地所有没有保存的修改,参考How do I revert all local changes in Git managed project to previous state?

知道运行

git checkout .
git clean -fd
References
  1. git clean 小结
  2. How do I revert all local changes in Git managed project to previous state?
posted @ 2019-07-28 16:52  五毛钱的饼  阅读(462)  评论(0编辑  收藏  举报