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 changed files with 1 additions and 0 deletions
1
justfile
1
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue