Re:GitHub Actions could be so much better
by davidmurdoch on Friday September 22, 2023 @08:18PM
(#37619438)
My GH Actions debugging usually devolves into `git commit -m "wtfqwehsjsidbfjdi"`
[ Parent
| on HN ]
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