aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--justfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/justfile b/justfile
index 43e914d..4494b77 100644
--- a/justfile
+++ b/justfile
@@ -15,11 +15,11 @@ update-nur-packages:
sync HOST=default_host:
git fetch --all
if git diff --quiet; then \
- git stash save; \
git switch -d origin/main; \
- git stash pop; \
else \
+ git stash save; \
git switch -d origin/main; \
+ git stash pop; \
fi
just switch "{{HOST}}"