git error into public directory
Solved
LAMP
-
Hi guys,
i m facing an issue using git in the public folder of LAMP
the error is whatever i try any git command:
fatal: detected dubious ownership in repository at '/app/data/public'
To add an exception for this directory, call:git config --global --add safe.directory /app/data/public
When i try the previous command i got another error:
error: could not lock config file /root/.gitconfig: Read-only file system
Using sudo didn't solve my issue.
Thank you for your help
-
-