From 123d839f5ee36f5697ecacf9ca05f6afd6c1b9fe Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Fri, 6 Dec 2024 15:44:49 +0100 Subject: [PATCH] add pull first to just push so the work is up to date before pushing --- justfile | 1 + 1 file changed, 1 insertion(+) diff --git a/justfile b/justfile index 958bf2a..3dbeb05 100644 --- a/justfile +++ b/justfile @@ -18,6 +18,7 @@ setup: echo "just test" >> ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit push: + git pull git add * read -p "Commit message: " -r message && git commit -m "$message" git push