Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 9 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 · 9 months agomessage-square13fedilink
minus-squareSpeakinTelnetlinkfedilinkarrow-up18·9 months agoNo needs for pull requests when you commit directly to main.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up9·9 months agoalso remember to use --force when pushing, your colleagues will love you
minus-squareSpeakinTelnetlinkfedilinkarrow-up8·9 months agogit rebase -i --root git commit --amend --no-edit git push --force
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!