Ephera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 个月前Someone pushed the wrong thing to production...lemmy.mlimagemessage-square13fedilinkarrow-up1171arrow-down17
arrow-up1164arrow-down1imageSomeone pushed the wrong thing to production...lemmy.mlEphera@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 8 个月前message-square13fedilink
minus-squareSpeakinTelnet@sh.itjust.workslinkfedilinkarrow-up18·8 个月前No needs for pull requests when you commit directly to main.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up9·8 个月前also remember to use --force when pushing, your colleagues will love you
minus-squareSpeakinTelnet@sh.itjust.workslinkfedilinkarrow-up8·8 个月前git 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!