Stash/pop any local changes before pulling updates
More user customizations will survive without commits.
This commit is contained in:
parent
ebe38078de
commit
dcc4071979
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user