我在本地存储库中创建了一个新分支,经过一些提交后,我想将其推送到远程存储库。
git push origin new_branch
上个月我做了类似的事情(推送一个新分支),以前我从来没有遇到过问题,但现在我遇到了这个错误:
Counting objects: 39, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (23/23), 14.30 KiB, done.
Total 23 (delta 16), reused 0 (delta 0)
Unpacking objects: 100% (23/23), done.
fatal: Unable to create '/mnt/server.Annax/git/voipsrv_anxsvn/.git/refs/heads/new_branch.lock': Permission denied
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
有人可以帮我吗?