bunteshaus.de/push.sh

10 lines
141 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"
2022-04-08 18:42:39 +02:00
if [ "$1" = "upstream" ]; then
2022-04-08 18:33:14 +02:00
target=upstream
fi
2022-04-08 18:42:39 +02:00
git push ${target}