From f29d008083a30ef21ef5754b3fd2ec4542612d1d Mon Sep 17 00:00:00 2001 From: rithviknishad Date: Wed, 6 Mar 2024 15:35:21 +0530 Subject: [PATCH] fixes `load-org-data` not pulling latest changes --- load-org-data.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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