mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-05 04:08:20 +08:00
* fix: stop paging git diff output when running omarchy-update * Keep option list similar between the two --------- Co-authored-by: David Heinemeier Hansson <david@hey.com>
9 lines
179 B
Bash
Executable File
9 lines
179 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
echo -e "\e[32mUpdate Omarchy\e[0m"
|
|
|
|
git -C $OMARCHY_PATH pull --autostash
|
|
git -C $OMARCHY_PATH --no-pager diff --check || git -C $OMARCHY_PATH reset --merge
|