11 lines
173 B
Bash
Executable File
11 lines
173 B
Bash
Executable File
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}
|