From fc29f9153125f50c529130cf8ef32720da2d91e6 Mon Sep 17 00:00:00 2001 From: Luis Alvergue Date: Mon, 15 Apr 2024 21:19:31 +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 46a243aa6..29495649d 100755 --- a/.devcontainer/postAttach.sh +++ b/.devcontainer/postAttach.sh @@ -2,4 +2,6 @@ set -eu # initialize pre-commit + +git config --global --add safe.directory /home/calitp/app pre-commit install --overwrite