96

Worst thing you've seen another dev do?

Not adding node_modules to gitignore.

Comments
  • 8
    add .gitignore to .gitignore:-D
  • 2
    @japzio so I get that that's a joke but destroyed my brain a bit so wouldn't git just ignore the .gitignore file and thus not ignore it? 😂🤔🤯
  • 2
  • 7
    @RantSomeWhere here's a prank:
    1. Make sure that your coworker has unfinished tasks and without some code the app won't run
    2. Create a branch called 'its-just-a-prank-bro' but don't checkout it
    3. Create/edit gitignore, so all app files and folders + gitignore would be ignored and add it
    4. Commit it with message "Fixed critical bug"
    5. Create an alias for git add which would add files to its-just-a-prank-bro
    6. Create an alias for git commit which would commit in its-just-a-prank-bro branch
    7. Create an alias for git status which would display a status of its-just-a-prank-bro branch but it would replace the name of that branch with master
    8. Enjoy! His commits will never show up in master!
    But how do we restore files?
    1. Remove aliases
    2. Merge its-just-a-prank-bro into master
    3. Delete the commit with our prank
  • 5
    @mishaor How to restore the broken friendship ?
  • 3
    @undefinedUser maybe you can git revert the friendship to a previous state
  • 0
    What a bastard...
  • 0
    I have alcohol
Add Comment