I'm using git and I want to merge one of my branch onto the master. I did: git merge myBranch
. I get this error:
error: cannot stat 'client/Maintenance/Gamme': Permission denied
error: cannot stat 'client/Maintenance/Gamme': Permission denied
Updating 6d3ccfa..a419e19
I try to abort with git merge --abort
and to try again, but I still have the same error.
Is there a way to fix this or is there a way to do it differently?
If you are a Linux user you can modify the Folder permissions using:
sudo chmod 666 your_project_folder
After That you can use:
git merge
because this problem related to your folder permission not to git.
I hope that this help you to resolve your issue.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.