Keep forgetting how to do this…
# To amend previous commit
$ git commit --amend --no-edit
# To amend previous commit and change message
$ git commit --amend -m "Changed message"
# To push afterwards (but don't do this unless on own branch/repo)
$ git push --force
$ git commit --amend --no-edit
# To amend previous commit and change message
$ git commit --amend -m "Changed message"
# To push afterwards (but don't do this unless on own branch/repo)
$ git push --force