Create update_repo.sh
This commit is contained in:
parent
37f9624ac8
commit
65ec993f88
9
html/update_repo.sh
Normal file
9
html/update_repo.sh
Normal file
|
|
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user