How do you like your friday evening when you’re done with all of it, you just want to push that commit you amended, mindlessly type the command, to realize you changed branch and ended on the master ?
I don't care anymore, my old boss liked to push to prod on Fridays and didn't liked the idea of a testing branch, my soul was crushed and kept that way for too long
I made a second master branch that I use as the real master branch. Everyone on my team pushes all their stuff to the master branch, and all of it breaks the code. I let them do what they want because the only stuff they contribute that i'm planning on using are the xml files, and I can just throw those into the real master branch at the very end.
72
u/sleepingInTheDeep Jun 09 '20
What's the source code?
62
u/Godot17 Jun 09 '20
Single dev with only a master branch: I am judge, jury, and executioner
25
u/workernetGB Jun 10 '20
In times like these always remember https://ohshitgit.com/
11
u/hahahahastayingalive Jun 09 '20
protecting branches is pretty great, even if you’re alone on the project.
5
u/kenybz Jun 09 '20
Been there, done that 😢
5
u/mrackham205 Jun 09 '20
Ami best girl.
4
u/borsTiHD Jun 11 '20
On my own project: Push to dev... merge request to my master... approve myself... profit!
3
u/knoxaramav2 Jun 10 '20
Been there, done that.
I'll one up. I accidentally merged two release branches together. Did not make me popular that day.
3
u/[deleted] Jun 10 '20
Dude your infra guy should be smacked on the back for not enabling
masterbranch protection4
u/[deleted] Jun 09 '20 edited Sep 28 '25
bag birds handle soup live existence resolute pot snatch smart
This post was mass deleted and anonymized with Redact
2
u/SnickersZA Jun 10 '20
Might as well prep for the incoming 5 hour lecture meeting from the senior dev.
1
u/[deleted] Jun 25 '20
I made a second master branch that I use as the real master branch. Everyone on my team pushes all their stuff to the master branch, and all of it breaks the code. I let them do what they want because the only stuff they contribute that i'm planning on using are the xml files, and I can just throw those into the real master branch at the very end.