From fc1cadad7aaf4a7b0f47d20239baae7259aa6158 Mon Sep 17 00:00:00 2001 From: trnq1ll0 Date: Sun, 8 Mar 2026 13:04:21 +0100 Subject: [PATCH] explicit brance name --- code/backup_rsync_git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/backup_rsync_git.sh b/code/backup_rsync_git.sh index 76e7cfc..c644a7c 100755 --- a/code/backup_rsync_git.sh +++ b/code/backup_rsync_git.sh @@ -44,7 +44,7 @@ repo_abs="$(cd "$RSYNC_TARGET_DIR" && pwd)" rel_target="." if [[ ! -d "$repo_abs/.git" ]]; then - git -C "$repo_abs" init >/dev/null + git -C "$repo_abs" init -b main >/dev/null fi git_target() {