Improvement if there are running multiple instances

This commit is contained in:
m8in committed 2026-02-05 22:51:10 +01:00
1 parent 3fa0234b75
commit 3a90034cd3
2 files changed
+43 -12

No files matched your search

+1
View File
@@ -85,6 +85,7 @@ function ensureRepositoryIsAvailableAndWritable() {
[ -d "${_REPOSITORY_FOLDER}.git" ] \
&& echo \
&& git -C "${_REPOSITORY_FOLDER}" reset --hard origin/main &> /dev/null \
&& git -C "${_REPOSITORY_FOLDER}" pull &> /dev/null \
&& git -C "${_REPOSITORY_FOLDER}" push --dry-run &> /dev/null \
&& echo "Writable repository found in folder '${_REPOSITORY_FOLDER}'." \