bunteshaus.de/push.sh

10 lines
138 B
Bash
Raw Normal View History

2022-04-08 18:33:14 +02:00
git add content/news
git commit --amend --no-edit
target="origin"
if [ "$1" = "main" ]; then
target=upstream
fi
#git push ${target}