Stash/pop any local changes before pulling updates

More user customizations will survive without commits.
This commit is contained in:
David Heinemeier Hansson
2025-07-17 09:39:31 -07:00
parent ebe38078de
commit dcc4071979

View File

@ -10,8 +10,10 @@ else
last_updated_at=$(git log -1 --format=%cd --date=unix) last_updated_at=$(git log -1 --format=%cd --date=unix)
fi fi
# Get the latest # Get the latest while trying to preserve any modifications
git stash
git pull git pull
git stash pop
# Run any pending migrations # Run any pending migrations
for file in migrations/*.sh; do for file in migrations/*.sh; do