Change global git
config as root
This commit is contained in:
parent
869a3900e0
commit
e48a0b870b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ function runAction -V dir
|
|||
and runHook prepareAction || true
|
||||
|
||||
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
|
||||
$argv
|
||||
|
|
Loading…
Reference in a new issue