如果git status
显示:
$ git status
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# deleted: FooBar.xcodeproj/project.pbxproj
不git checkout
应该带回来吗?
$ git checkout FooBar.xcodeproj
error: pathspec 'FooBar.xcodeproj' did not match any file(s) known to git.
git如何正确恢复这个文件夹?