bunteshaus.de/push.sh
2022-04-08 18:42:39 +02:00

10 lines
141 B
Bash
Executable File

git add content/news
git commit --amend --no-edit
target="origin"
if [ "$1" = "upstream" ]; then
target=upstream
fi
git push ${target}