mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Stash/pop any local changes before pulling updates
More user customizations will survive without commits.
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user