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

7 lines
121 B
Text
Raw Normal View History

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