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 the code should be read-only by sourcebot, you can use the following [git-config environment variables](https://git-scm.com/docs/git-config#ENVIRONMENT)
106
+
to allow Sourcebot to read from any repository, regardless of ownership:
107
+
108
+
```sh
109
+
GIT_CONFIG_COUNT=1
110
+
GIT_CONFIG_KEY_0=safe.directory
111
+
GIT_CONFIG_VALUE_0=*
112
+
```
113
+
114
+
If you're using docker-compose, this can be added to the `environment` section of the `sourcebot` service
115
+
in the [docker-compose](https://raw.githubusercontent.com/sourcebot-dev/sourcebot/main/docker-compose.yml) file,
116
+
otherwise you can set these environment variables in the environment where sourcebot is running.
0 commit comments