From 65ec993f88a899229e2171f7de47cd112000e8d8 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 30 Aug 2025 15:29:32 +0200 Subject: [PATCH] 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