更新时间:2023-11-05 20:40:10
git pull
just merges the fetched commits in your working directory and will not restore your deleted directory ( but might warn you about conflicts.)
If you have deleted the folders in your working directory, you have to do:
git checkout -- test
to get it back.
Or you can do git reset --hard
to completely bring your working directory to HEAD state.