mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +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)
|
||||
fi
|
||||
|
||||
# Get the latest
|
||||
# Get the latest while trying to preserve any modifications
|
||||
git stash
|
||||
git pull
|
||||
git stash pop
|
||||
|
||||
# Run any pending migrations
|
||||
for file in migrations/*.sh; do
|
||||
|
Reference in New Issue
Block a user