当我运行git push时,我得到了这个
⚡️ js git push
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 8 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 485 bytes | 485.00 KiB/s, done.
Total 5 (delta 3), reused 0 (delta 0)
远程:此存储库当前为1.1 GB。如果超过2 GB,它将进入只读模式。
remote: Learn how to reduce your repository size: https://confluence.atlassian.com/x/xgMvEw
To bitbucket.org:user/reponame.git
73012de..c96b1fd master -> master
当我克隆我的仓库时,请检查大小。只有
我跑步时
rm -rf .git
并推送到新的repo
这里发生了什么?
我错过了什么?
它可能是git gc
长时间运行[[not的存储库。
not
):这将触发BitBucket上的git gc
。然后查看警告是否仍然存在。如果没有,请像在[reflog expire + prune --expire + git gc --aggressive
]中一样尝试push -f
,然后尝试How to cleanup garbage in remote git repo,看是否有帮助。