
git pull --autostash
in omarchy-update
This is a minor follow-up to dcc40719793d52d43698108a0b0784c2f3b48655 to leverage the `--autostash` flag of `git pull` which does the same thing we were doing in three separate commands. This also avoids the possibility of popping something from the stash that `omarchy-update` didn't actually stash. In other words, if the initial `git stash` was a no-op (because there were no changes in the working tree), it's actually not desirable for `omarchy-update` to `git stash pop` at the end, since that potentially pops something the user had manually stashed (we only want `omarchy-update` to pop its own stash entry). Using `--autostash` handles this correctly. Ref: https://git-scm.com/docs/git-pull#Documentation/git-pull.txt---autostash
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
86.5%
CSS
10.4%
Lua
3.1%