Hello, i am using a Linux Server i have cloned the project from bitbucket to my local laptop when i make i make git push from local to bitbucket it workes but when i make a git pull on my linux server it give me this "error: cannot open .git/FETCH_HEAD: Permission denied"
i have changed the url origin link from .git/config and still didn't work
Hi Elie and welcome to the community!
This error may occur if the user on your Linux server doesn't have enough permissions to the clone directory. Please note that I am not talking about the Bitbucket Cloud user, but the user account on the Linux server that you are logged in to when you try to make a git pull.
A git pull operation will incorporate changes from the remote repo to the clone, so the Linux user needs to have read-write permissions to the clone directory.
Could you please check and adjust the permissions and then try to execute the command again?
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.