You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As my git directory is located on a different server with different users, I got an "unsafe git directory" warning. I currently work around this using the following in my .yml (docker swarm):
When you say that "my git directory is located on a different server with different users" it sounds like you are not mounting a volume with the git directory in the gitweb container. Perhaps you can explain more about your setup and under which use cases of gitweb that you receive the "unsafe git directory" warning?
As my git directory is located on a different server with different users, I got an "unsafe git directory" warning. I currently work around this using the following in my .yml (docker swarm):
This script does two things:
According to https://stackoverflow.com/questions/71849415/i-cannot-add-the-parent-directory-to-safe-directory-in-git you can also add '*' to safe directories.
Perhaps there should be either:
A. Fix this issue, or,
B. use this workaround
The text was updated successfully, but these errors were encountered: