News for hackers. Stuff that matters.
Re:GitHub Actions could be so much better by no_wizard on Friday September 22, 2023 @08:47PM (#37619622)
you could always do git commit -m "" --allow-empty
Re:GitHub Actions could be so much better by _nhynes on Friday September 22, 2023 @08:57PM (#37619678)

    git commit --amend --no-edit && git push -f
Re:GitHub Actions could be so much better by mdaniel on Monday September 25, 2023 @04:20PM (#37650039)
We may be splitting hairs given what this thread is going on about, but I strongly advocate for `--force-with-lease` as a sane default versus `-f` so that one does not blow away unexpectedly newer commits to the branch

The devil's in the details, etc, etc, but I think it's a _much_ more sane default, even for single-user setups/branches because accidents can happen and git DGAF

Re:GitHub Actions could be so much better by totetsu on Saturday September 23, 2023 @01:26AM (#37620774)
git commit -m "--allow-empty"
Re:GitHub Actions could be so much better by diarrhea on Saturday September 23, 2023 @02:33AM (#37621053)
You can even allow empty messages.