34
xonya
6y

When the code is so bad that the only meaningful thing to do should be executing
rm -Rf *; git add -A; git commit -m "bugfix"
and then start the project again.

Comments
  • 2
    I got exactly that in mind... Only it's DROP TABLE *; for me...
    Can't do it though because it's 20 years of customer data...
    Still, my team's nice and the pay is good, so it's kind of my turn to take one for the team and build this thing I guess.
  • 3
    I have to do this tomorrow 😞

    The dev before me decided to use Git on a project which is all good, but randomly merged between branches different chunks of code and no 2 branches can be merged any more, with some PRs being months old 😰

    I don’t have the time or energy to deal with this fuckery of a mess so delete and copy the code directly out of prod as the base seems like the only cause of action left.
  • 3
    `git rm . && git commit -m "Significant improvements" && git push origin --force; git clean -fdx`
  • 2
    And in typical @Root fashion:
    `shred -zfu -n 64 .`
Add Comment