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