Me burning to death fixing pylint warnings before I can commit my code.
Why is the wrong version always the one that is posted.
The (in my eyes) correct (and iirc original) version is:
- Git commit
- Git push
- Get out*
*as someone pointed out (and I remember it as well, but thought I rembered it wrong and corrected it, shame on me in this context) the last point may be originally “git out”
Cause of death: 15 minute long pre-push hook
i read a reddit post years ago where a someone wrote a script that iterates through all the projects in their dev folder, for each project creating a new branch, committing and pushing.
they then aliased it to “fire” or “panic” or something like that.
not a bad idea really
As in one they’d manually run if there was a fire?
Slight correction. In case of fire:
Git checkout -b firemyusername Git commit -am=“fire” Git push.
We don’t want to have conflicts with code versions when going in on a rush, better to create a new branch. We can merge all the conflicts afterwards.
What about
git add
?“I followed the rules, Boss. Not my fault the rules are stupid 🤷♂️”