Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 months agoSomeone pushed the wrong thing to production...lemmy.mlimagemessage-square13fedilinkarrow-up1170arrow-down17
arrow-up1163arrow-down1imageSomeone pushed the wrong thing to production...lemmy.mlEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square13fedilink
minus-squareastrsk@kbin.sociallinkfedilinkarrow-up30arrow-down1·edit-210 months agoCI and basic PR rules should gate this entirely… this should never be a problem.
minus-squareSylvartas@lemmy.worldlinkfedilinkarrow-up33·10 months ago basic PR rules My company’s code leads : Your browser does not support playing HTML5 video. You can download a copy of the video file instead.
minus-squareSpeakinTelnetlinkfedilinkarrow-up18·10 months agoNo needs for pull requests when you commit directly to main.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up9·10 months agoalso remember to use --force when pushing, your colleagues will love you
minus-squareSpeakinTelnetlinkfedilinkarrow-up8·10 months agogit rebase -i --root git commit --amend --no-edit git push --force
minus-squaredylanTheDeveloper@lemmy.worldlinkfedilinkarrow-up2·10 months agoWorking in a startup is truly an experience
CI and basic PR rules should gate this entirely… this should never be a problem.
My company’s code leads :
No needs for pull requests when you commit directly to main.
also remember to use --force when pushing, your colleagues will love you
git rebase -i --root git commit --amend --no-edit git push --force
use the force Luke!
Working in a startup is truly an experience
You owe 2 tokens to the “should jar”.