diff --git a/.devcontainer/on-create.sh b/.devcontainer/on-create.sh index 77f642c32b..8593f4568e 100755 --- a/.devcontainer/on-create.sh +++ b/.devcontainer/on-create.sh @@ -31,6 +31,9 @@ set -e +# Making the downloaded repository safe as the owner might differ for .devcontainer env. +git config --global --add safe.directory /workspaces/gem5 + # Refresh the git index. git update-index