add pull first to just push so the work is up to date before pushing

This commit is contained in:
Lillian Violet 2024-12-06 15:44:49 +01:00
parent 46ed9c2180
commit 123d839f5e

View file

@ -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