mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 04:09:23 +00:00
4bb8afde02a4e2e08499001e2052f4cf1a74b9ee

If the worktree has conflicts after applying the user's changes from the autostash, we should reset them before proceeding to ensure we are in a working state. When there are conflicts, git still keeps the stash entry, so the user will still be able to manually re-pop the stash and resolve the conflicts after `omarchy-update` has finished. In the case of conflicts, the output will look something like this (I've omitted most of the normal `git pull` output, hence the `[...]`): ``` Updating 729cd6a..45b5d3e Created autostash: 91853c4 Fast-forward bin/omarchy | 10 +++++++--- [...] create mode 100644 themes/tokyo-night/backgrounds/2--Milad-Fakurian-Abstract-Purple-Blue.jpg Applying autostash resulted in conflicts. Your changes are safe in the stash. You can run "git stash pop" or "git stash drop" at any time. bin/omarchy:65: leftover conflict marker ``` before proceeding with the rest of the `omarchy-update` script from a clean state. So the user will see 1) that there were conflicts when applying the autostashed changes, 2) that their changes are still safe in the stash, and 3) which files (and lines) had conflict markers.
Omarchy
Turn a fresh Arch installation into a fully-configured, beautiful, and modern web development system based on Hyprland by running a single command. That's the one-line pitch for Omarchy (like it was for Omakub). No need to write bespoke configs for every essential tool just to get started or to be up on all the latest command-line tools. Omarchy is an opinionated take on what Linux can be at its best.
Read more at omarchy.org.
License
Omarchy is released under the MIT License.
Languages
Shell
78.9%
CSS
16.8%
Lua
4.3%