Solution:
git commit --amend git push --forceProblem:
The process of discovering best practices on how to keep a clean git history is a goddamned challenge.
--force-with-lease* 🙃I didn’t want to make it sound too scary 😉
Seriously, though, git really needs an option to treat
--forceas--force-with-lease. In the exceedingly rare occasion where I might want to completely overwrite a branch, it should be extra explicit by having to type something like--force-and-overwrite.--force-overwrite-everything-i-know-what-the-heck-i-am-doing
just to be sure… (/j)At this point, it may be a good idea to throw the entire git porcelain (frontend) away and redesign it from scratch!
Ah yes, I hate the fact that you cannot run GitHub Actions workflows locally in order to debug them.
Don’t waste your precious build minutes: act, gitlab-ci-local.
I find it infuriating that they didn’t design CI to run locally first and then offer a hosted version of it. These tools are not the perfect alternatives for the real thing.



