Git小记

来源:互联网 发布:linux 搜索文件夹权限 编辑:程序博客网 时间:2024/05/29 19:46

为了git clone 快一点设置了 –depth=1导致只有一个分支,
通过设置git config remote.origin.fetch 'refs/heads/\*:refs/remotes/origin/*'
git fetch origin
后可以得到完整仓库

0 0
原创粉丝点击