Seriously, though, git really needs an option to treat --force as --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.
Yeah, I virtually only use --force for moving tags around (which one could definitely argue isn’t really a thing you should be doing regularly either)…
--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.Yeah, I virtually only use
--forcefor moving tags around (which one could definitely argue isn’t really a thing you should be doing regularly either)…--force-overwrite-everything-i-know-what-the-heck-i-am-doingjust to be sure… (/j)