I have created a new branch in my local repository and after some commits, I wanted to push it to the remote repository.
git push origin new_branch
The last month I did something similar (to push a new branch) and I never had a problem before, but now I have this error:
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
Can anybody help me, please?