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

7 lines
121 B
Plaintext
Raw Normal View History

2021-02-16 12:11:05 +00:00
#!/bin/sh
2022-07-06 08:21:14 +00:00
git-l
2021-05-06 06:29:05 +00:00
if git rev-parse @{upstream} >/dev/null 2>&1
2021-05-05 06:56:44 +00:00
then git push "$@"
else git push --set-upstream "$@"
2021-03-12 09:21:23 +00:00
fi