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.
我有一个包含数百个提交和多个分支的大型 Web 应用程序项目。
我想要一个空间非常有限的测试服务器,只需要能够下载一个分支的最后一个内容来阅读。
git clone --bare <url> --branch <branch> --single-branch解决方案能满足我的需求吗?
git clone --bare <url> --branch <branch> --single-branch
我在这里看到的问题是我无法轻松更新内容,因为git pull它不起作用。
git pull