fix: add global safe.directory exception for offline git repos
This commit is contained in:
parent
28b1b1d875
commit
25f40c1663
@ -97,6 +97,10 @@ mask_secret() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if command -v git >/dev/null 2>&1; then
|
||||||
|
git config --global --add safe.directory '*' || true
|
||||||
|
fi
|
||||||
|
|
||||||
detect_os() {
|
detect_os() {
|
||||||
case "$(uname -s)" in
|
case "$(uname -s)" in
|
||||||
Darwin) echo "darwin" ;;
|
Darwin) echo "darwin" ;;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user