From 6d79ac28ece8d459d8ac5e03ec3dfeade27b0509 Mon Sep 17 00:00:00 2001 From: andre Date: Sat, 29 Nov 2025 22:10:25 +0100 Subject: [PATCH] rootfs/opt/git-sync/git-sync.sh aktualisiert --- rootfs/opt/git-sync/git-sync.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rootfs/opt/git-sync/git-sync.sh b/rootfs/opt/git-sync/git-sync.sh index fa925c9..858cbd7 100644 --- a/rootfs/opt/git-sync/git-sync.sh +++ b/rootfs/opt/git-sync/git-sync.sh @@ -11,7 +11,10 @@ fi # Aktualisieren cd "$REPO" || exit 1 +git stash push -m "auto-sync" git pull --rebase +git stash pop + # Dateien verteilen (rootfs → /) sudo rsync -a rootfs/ "$TARGET"