标记一下git push这个坑,本地使用git 上命令传报错:
(blogenv) F:\Python\blog>git push origin master:b2
git@******'s password:
Enumerating objects: 23, done.
Counting objects: 100% (23/23), done.
Delta compression using up to 8 threads
Compressing objects: 100% (20/20), done.
Writing objects: 100% (20/20), 1.55 KiB | 396.00 KiB/s, done.
Total 20 (delta 15), reused 0 (delta 0)
remote: error: insufficient permission for adding an object to repository database ./objects
remote: fatal: failed to write object
error: remote unpack failed: unpack-objects abnormal exit
To :/wwwroot/blog
! [remote rejected] master -> b2 (unpacker error)
error: failed to push some refs to 'git@:/wwwroot/blog
pycharm 用 vcs>git>push 报错:
Push rejected: Push master to origin/b2 was rejected by remote
或者
Push rejected: Push master to origin/master was rejected by remote