Make a shallow GIT repository less shallow

心不动则不痛 提交于 2019-12-04 12:45:20
Adam Watkins

Seems I had a similar question to this and found this afterwards. The trick was to specify the full refspec at the end and depth on the fetch command. refs/tags/v0.1.3:refs/tags/v0.1.3 or tag v0.1.3 for short

Git shallow fetch of a new tag

git fetch --depth 1 origin tag v0.1.4
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!