我已经找到了解决方案。git checkout master~1 ./FolderIWantToRevert ./AnotherFolderToRevert 请注意,我想回退到先前的提交记录,这就是为什么在 "master" 后面有 "~1" 的原因。