git checkout 撤销多个文件,撤销整个文件夹

git checkout 撤销多个文件,撤销整个文件夹

git checkout <folder-name>/

git checkout -- <folder-name>

这样会把<fold-name>下所有的文件都撤销

原文地址:https://www.cnblogs.com/ibingshan/p/10407335.html