且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在不获取其他分支的情况下增加浅层克隆的深度

更新时间:2023-09-20 12:10:16

使用git fetch --deepen=<depth>:

man git-fetch 说:

  --deepen=<depth>
       Similar to --depth, except it specifies the number of commits from
       the current shallow boundary instead of from the tip of each remote
       branch history.