美文网首页
git clone --depth=1之后拉取其他分支

git clone --depth=1之后拉取其他分支

作者: nice_demo | 来源:发表于2021-03-02 17:21 被阅读0次

    $ git remote set-branches origin remote_branch_name

    $ git fetch--depth1origin remote_branch_name

    $ git checkout remote_branch_name

    相关文章

      网友评论

          本文标题:git clone --depth=1之后拉取其他分支

          本文链接:https://www.haomeiwen.com/subject/zfjxqltx.html