dotfiles/.local/bin/scripts/git-p

6 lines
105 B
Plaintext
Raw Normal View History

2021-02-16 12:11:05 +00:00
#!/bin/sh
2021-03-12 09:21:23 +00:00
if git rev-parse @{u} 2>/dev/null >/dev/null
then git push
else git push --set-upstream
fi