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
When running the generator inside the container, the following error is reported, and generation fails.
/source/openapi-generator /
fatal: detected dubious ownership in repository at '/source/openapi-generator'
To add an exception for this directory, call:
git config --global --add safe.directory /source/openapi-generator
If it helps, I'm running the generator using java-crd-cmd.sh:
For now, I've worked around the issue by adding RUN git config --system --add safe.directory '/source/openapi-generator' in my fork. I'm happy to contribute the change, but I wasn't sure if this would be the best fix.
The text was updated successfully, but these errors were encountered:
When running the generator inside the container, the following error is reported, and generation fails.
If it helps, I'm running the generator using
java-crd-cmd.sh
:For now, I've worked around the issue by adding
RUN git config --system --add safe.directory '/source/openapi-generator'
in my fork. I'm happy to contribute the change, but I wasn't sure if this would be the best fix.The text was updated successfully, but these errors were encountered: