add pull first to just push so the work is up to date before pushing
This commit is contained in:
parent
46ed9c2180
commit
123d839f5e
1
justfile
1
justfile
|
@ -18,6 +18,7 @@ setup:
|
||||||
echo "just test" >> ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit
|
echo "just test" >> ./.git/hooks/pre-commit && chmod +x ./.git/hooks/pre-commit
|
||||||
|
|
||||||
push:
|
push:
|
||||||
|
git pull
|
||||||
git add *
|
git add *
|
||||||
read -p "Commit message: " -r message && git commit -m "$message"
|
read -p "Commit message: " -r message && git commit -m "$message"
|
||||||
git push
|
git push
|
||||||
|
|
Loading…
Reference in a new issue