diff --git a/templates/.devcontainer/postCreate.sh.j2 b/templates/.devcontainer/postCreate.sh.j2 index 6b36b8d..fd234f3 100755 --- a/templates/.devcontainer/postCreate.sh.j2 +++ b/templates/.devcontainer/postCreate.sh.j2 @@ -5,6 +5,10 @@ # or removal of a certain file. sudo rm /usr/lib/python3.*/EXTERNALLY-MANAGED || true +# This is a workaround on an issue with the devcontainer reported on Windows where followup git config commands would +# fail. #9067 +git config --add safe.directory /app + git config commit.template .devcontainer/git/linkorb_commit.template {% if repo.type in ['application', 'library', 'symfony-bundle'] or repo.type.startswith('php-') %}