Change global git config as root

This commit is contained in:
Manuel Thalmann 2024-11-03 22:34:39 +01:00
parent e6efda0a55
commit 929d2efdb0

View file

@ -17,7 +17,7 @@ function runAction -V dir
and runHook prepareAction || true and runHook prepareAction || true
echo "Flagging repository as safe..." echo "Flagging repository as safe..."
git config --system --add safe.directory (realpath "$(status dirname)/../..") sudo git config --system --add safe.directory (realpath "$(status dirname)/../..")
and runHook preAction || true and runHook preAction || true
$argv $argv