From: Shane Date: Sun, 11 Jan 2026 03:00:54 +0000 (+0000) Subject: getting there X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=bf7ad330a7304455ce969ab726d6ee49b29c3c4e;p=nutratech%2Fvps-root.git getting there --- 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)'"