Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Git Pull request

Elie KHAZZAKA - Hi-YU Liban
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2024

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 

1 answer

1 vote
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2024

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,

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events