Grav Git sync
-
I am trying to get grav git sync to work.
Starting with a bare repo https://git.knownelement.com/reachableceo/reachableceo.com .
root@274c4e05-0aea-49c1-8c4a-aff47c566f65:/app/data/user# git status
fatal: detected dubious ownership in repository at '/app/data/user'
To add an exception for this directory, call:git config --global --add safe.directory /app/data/user
root@274c4e05-0aea-49c1-8c4a-aff47c566f65:/app/data/user# git config --global --add safe.directory /app/data/user
error: could not lock config file /root/.gitconfig: Read-only file system
root@274c4e05-0aea-49c1-8c4a-aff47c566f65:/app/data/user#Any way to solve this?
If I use a repo that is initalized, it complains about divergent branches. And the suggested ways to fix all involve git --config which fails.
-
Does doing this help? https://docs.cloudron.io/apps/grav/#cli