If you know pushing your commit can break things then maybe don't just blindly add everything in your CWD to the commit and push it without looking it over first.
This actually goes double for configuration management systems.
If you are making changes to configuration you should at least verify that it works. Don't just leave chef-client failing every 30 minutes for days until someone else needs it to work and they have to fix your typos.
Nothing like wanting to make a simple change only to discover the CM was broken for days before you made any changes.
@socks Thank the git gods for protected branches.
I have once had to clean up the mess after someone accidentally nuked and squashed weeks of commits on the main branch.
Mastodon Community of Denmark (MCD) for Danes and other people to talk about Denmark or whatever.