bunteshaus.de/push.sh

14 lines
210 B
Bash
Executable File

#!/bin/bash
echo funzte nicht
exit 1
git add content/news
git commit --amend --no-edit
target="origin"
force="-f"
if [ "$1" = "upstream" ]; then
target=upstream
force=""
fi
git push ${target} ${force}