From bf7ad330a7304455ce969ab726d6ee49b29c3c4e Mon Sep 17 00:00:00 2001 From: Shane Date: Sun, 11 Jan 2026 03:00:54 +0000 Subject: [PATCH] getting there --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 2654258..32c2773 100644 --- a/Makefile +++ b/Makefile @@ -157,6 +157,8 @@ endif $(eval REPO_GIT := $(if $(filter %.git,$(REPO)),$(REPO),$(REPO).git)) @echo "Initializing bare repository $(REPO_GIT) on $(VPS_HOST)..." ssh $(VPS) "mkdir -p /srv/git/$(REPO_GIT) && cd /srv/git/$(REPO_GIT) && git init --bare && touch git-daemon-export-ok" + @echo "Marking directory as safe..." + ssh $(VPS) "git config --global --add safe.directory /srv/git/$(REPO_GIT)" ifdef OWNER @echo "Setting owner to $(OWNER)..." ssh $(VPS) "git config --file /srv/git/$(REPO_GIT)/config gitweb.owner '$(OWNER)'" -- 2.52.0