diff --git a/load-org-data.sh b/load-org-data.sh index 92bc4ea0..277da856 100755 --- a/load-org-data.sh +++ b/load-org-data.sh @@ -6,10 +6,12 @@ if [ -d "data-repo/.git" ] && (cd data-repo && git remote -v | grep -q 'upstream echo "Updating existing data repository..." cd data-repo - + + git clean -df git fetch upstream git checkout --force main git reset --hard main + git pull upstream main cd .. else