rootfs/opt/git-sync/git-sync.sh aktualisiert
This commit is contained in:
@@ -11,7 +11,10 @@ fi
|
|||||||
|
|
||||||
# Aktualisieren
|
# Aktualisieren
|
||||||
cd "$REPO" || exit 1
|
cd "$REPO" || exit 1
|
||||||
|
git stash push -m "auto-sync"
|
||||||
git pull --rebase
|
git pull --rebase
|
||||||
|
git stash pop
|
||||||
|
|
||||||
|
|
||||||
# Dateien verteilen (rootfs → /)
|
# Dateien verteilen (rootfs → /)
|
||||||
sudo rsync -a rootfs/ "$TARGET"
|
sudo rsync -a rootfs/ "$TARGET"
|
||||||
|
|||||||
Reference in New Issue
Block a user