Skip to content

Commit

Permalink
fixes load-org-data not pulling latest changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Mar 6, 2024
1 parent cc029a3 commit f29d008
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion load-org-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f29d008

Please sign in to comment.