getting there
authorShane <chown_tee@proton.me>
Sun, 11 Jan 2026 03:00:54 +0000 (03:00 +0000)
committerShane <chown_tee@proton.me>
Sun, 11 Jan 2026 03:00:54 +0000 (03:00 +0000)
Makefile

index 26542581a94d983fa6ab1dbfb3880bb2cedbc133..32c27737981f67bc97a2f7854721b866095b6b73 100644 (file)
--- 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)'"