• GarytheSnail@programming.dev
    link
    fedilink
    arrow-up
    4
    ·
    7 months 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