Skip to content

Commit

Permalink
Merge pull request #96 from linkorb/windows-devcontainer-fix
Browse files Browse the repository at this point in the history
fix: devcontainer + Windows + git config #9067
  • Loading branch information
mhitza authored Nov 5, 2024
2 parents 5ce403d + ceaff11 commit 4ebfdb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/.devcontainer/postCreate.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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-') %}
Expand Down

0 comments on commit 4ebfdb4

Please sign in to comment.