9

Oops accidentally created this Angular component in the wrong directory. Better run the Ng command to remove the component so I don't need to remove the files and references in app.module.ts otherwise it would take an annoying amount of time to track down the right lines there and it also opens the door to human error!

......shit

Comments
  • 3
    In a sane system this would be solved by git reset --hard
  • 4
    @electrineer in a sane system this would be solved by just removing the file
  • 3
    @hack @electrineer in a sane system we wouldn't use bloated, slow bullshit like angular which has actions like "create component" which adds to the ugliest fucking app config file of all time without a corresponding "remove component" option.

    And it's a TFS project which makes me want to rip my teeth out but that's not even close to my decision. I thought TFS was a joke but Microsoft definitely has the "shitty, behind the curve by 10 years corporate" market by the balls. Or lackthereof.
  • 2
    Let it go. It is probably too late anyways. The code already replicated, injected itself into every component, evolved, rewrote GIT history, and used "git gud -f main viral" to overwrite all older versions of the project.
    You could try to start from scratch - but what about your wetware... You would be forced to write the same thing again anyways.
    Don't fight it. Resistance is futile.
Add Comment