0
I used that command git config --global credential.helper cache to store the login cache in bitbucket when git pull in production.
Everything works perfectly when I use the command sudo git pull, but I would like to use without the sudo, since the permissions of the downloaded files are getting like root.
However, when doing the command without using sudo, the following message appears:
fatal: Unable to connect to cache daemon: Permission denied
I’m guessing this has something to do with a folder git is not allowed to write without using sudo before.
How to solve this?
The operating system I’m using is the Ubuntu 14.04.5 LTS
Thanks, I also had to run the following command and it Works. chmod 0700 /home/<user>/. git-Credential-cache
– Najib El Alam