• GarytheSnail
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I use git commit --amend --no-edit often.

    Like if I forget to run a formatter before I commit and the build complains just for that.

    git add -u
    git commit --amend --no-edit
    git push -f