shallow update not allowed

新手上路,请多包涵

meiyou zhong wen shurufa

Android REPO was cloned from others,only one commits(depth =1),I'm going to push this to my git server,I changed the remote url,and when git push origin,error came out,

Delta compression using up to 2 threads.
压缩对象中: 100% (4376/4376), 完成.
写入对象中: 100% (12043/12043), 332.66 MiB | 1.12 MiB/s, 完成.
Total 12043 (delta 6482), reused 12043 (delta 6482)
To ssh://git.xxx.org/Android/customer/android/platform/cts
 ! [remote rejected] repo_branch -> repo_branch (shallow update not allowed)
error: 无法推送一些引用到 'ssh://git.xxx.org/Android/customer/android/platform/cts'
阅读 6.1k
1 个回答

不允许浅更新,加上 --unshallow

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题