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

3 lines
91 B
Plaintext
Raw Normal View History

2021-02-16 12:11:05 +00:00
#!/bin/sh
git rev-parse @{u} 2>/dev/null >/dev/null && git push || git push --set-upstream