commit 58ec6dfe6a7d8a7a2e817e0bbbbde4cc2bb0a531 parent 0b7fe34b3ba0761aef1b53487a862311640f23fd Author: lash <dev@holbrook.no> Date: Sun, 9 Jan 2022 15:53:16 +0000 Set bare clone on gitstart Diffstat:
M | gitstart.sh | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gitstart.sh b/gitstart.sh @@ -11,7 +11,7 @@ while IFS= read -r repo; do >&2 echo "folder $basename_git already exists, skipping" continue fi - git clone $repo $basename_git + git clone --bare $repo $basename_git done if [ ! -z $1 ]; then