From 56fe3a0c7cabad0d17ef511b7df4cdc3e2ea2c69 Mon Sep 17 00:00:00 2001 From: pika Date: Thu, 10 Apr 2025 21:14:20 +0200 Subject: [PATCH] features --- setup/homelapGitSetup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/homelapGitSetup.sh b/setup/homelapGitSetup.sh index c528068..49a56c8 100755 --- a/setup/homelapGitSetup.sh +++ b/setup/homelapGitSetup.sh @@ -64,11 +64,13 @@ gitDirSetup() { git init . + git branch -m main + git remote add "https://git.k4li.de/homelab/${location}-$(hostname).git" git commit -m "Initial script commit" - git push + git push -u origin main } set_cronjob() {