force git fetch

This commit is contained in:
Fabian Berg
2024-12-14 10:08:23 +01:00
committed by GitHub
parent ee5ab8fd55
commit d8358fa486

View File

@@ -66,7 +66,7 @@ check_working_dir
# Fetch the latest changes from the master branch # Fetch the latest changes from the master branch
echo "Fetching changes from remote..." echo "Fetching changes from remote..."
if git fetch $GIT_REMOTE --tags ; then if git fetch $GIT_REMOTE --tags --force ; then
echo "Fetched latest changes successfully" echo "Fetched latest changes successfully"
else else
echo "Fetch failed; stopping here." echo "Fetch failed; stopping here."