git checkout 撤销多个文件,撤销整个文件夹
git checkout 撤销多个文件,撤销整个文件夹
git checkout <folder-name>/
git checkout -- <folder-name>
这样会把<fold-name>下所有的文件都撤销
未经博主允许,禁止直接转载本博客任何内容(可以在文章中添加链接,禁止原文照搬),如需直接原文转载对应文章,请在该文章中留言联系博主,谢谢!!
git checkout <folder-name>/
git checkout -- <folder-name>
这样会把<fold-name>下所有的文件都撤销