Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我碰巧从我的工作树中删除了一个文件夹,如何从 git 服务器同步该文件夹?
您无需将其从服务器同步回来。您可以从本地仓库中获取它。只需使用git checkout <folder>.
git checkout <folder>