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

3 lines
91 B
Bash
Executable File

#!/bin/sh
git rev-parse @{u} 2>/dev/null >/dev/null && git push || git push --set-upstream