2022-04-13 08:37:09 +02:00
|
|
|
#!/bin/bash
|
|
|
|
echo funzte nicht
|
|
|
|
exit 1
|
2022-04-08 18:33:14 +02:00
|
|
|
git add content/news
|
|
|
|
git commit --amend --no-edit
|
|
|
|
target="origin"
|
2022-04-08 18:46:49 +02:00
|
|
|
force="-f"
|
2022-04-08 18:42:39 +02:00
|
|
|
if [ "$1" = "upstream" ]; then
|
2022-04-08 18:33:14 +02:00
|
|
|
target=upstream
|
2022-04-08 18:46:49 +02:00
|
|
|
force=""
|
2022-04-08 18:33:14 +02:00
|
|
|
fi
|
|
|
|
|
2022-04-08 18:46:49 +02:00
|
|
|
git push ${target} ${force}
|