如果我克隆一个 repo--depth 1
并尝试推送,我会得到
! [remote rejected] myBranch -> myBranch (shallow update not allowed)
error: failed to push some refs to 'myRepo'
有没有办法孤立当前分支并再次推送?
如果我克隆一个 repo--depth 1
并尝试推送,我会得到
! [remote rejected] myBranch -> myBranch (shallow update not allowed)
error: failed to push some refs to 'myRepo'
有没有办法孤立当前分支并再次推送?