From 65ec993f88a899229e2171f7de47cd112000e8d8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 30 Aug 2025 15:29:32 +0200 Subject: [PATCH 1/2] Create update_repo.sh --- html/update_repo.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 html/update_repo.sh diff --git a/html/update_repo.sh b/html/update_repo.sh new file mode 100644 index 0000000..7b23654 --- /dev/null +++ b/html/update_repo.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +set -euo pipefail + +# ins Verzeichnis wechseln, wo das Script selbst liegt +cd "$(dirname "$0")" + +# git aktualisieren +git fetch origin +git reset --hard origin/server \ No newline at end of file From deca69a60e68d3cbc1b0517be7ffa389ffda73d0 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 30 Aug 2025 15:32:13 +0200 Subject: [PATCH 2/2] Update update_repo.sh --- html/update_repo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/update_repo.sh b/html/update_repo.sh index 7b23654..59be0d0 100644 --- a/html/update_repo.sh +++ b/html/update_repo.sh @@ -6,4 +6,4 @@ cd "$(dirname "$0")" # git aktualisieren git fetch origin -git reset --hard origin/server \ No newline at end of file +git pull \ No newline at end of file