As a front end developer, I frequently add code to hide backend devs' error messages ;)
Is there a way of getting git to ignore code commented in a certain way? eg
.error { display:none; } // DEBUG-GIT-PLEASE-IGNORE
Or has someone written a plugin for this?
You can create a clean filter, which drops all lines containing DEBUG-GIT-PLEASE-IGNORE
.
But a more clean way is to change the web application, so that this behavior can be configured on the web host.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With