From e9eae1f4e91e2cf928ebda2c71f3e6eb95890c84 Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Tue, 2 Jul 2024 19:30:29 +0000 Subject: [PATCH] fix(devcontainer): configure git to install pre-commit --- .devcontainer/postAttach.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.devcontainer/postAttach.sh b/.devcontainer/postAttach.sh index b576c2df..0b977563 100644 --- a/.devcontainer/postAttach.sh +++ b/.devcontainer/postAttach.sh @@ -1,6 +1,8 @@ #!/usr/bin/env bash set -eu +git config --global --add safe.directory /home/compiler/site + # initialize hook environments pre-commit install --install-hooks --overwrite