cm0002@lemdro.id to Programmer Humor@programming.devEnglish · 1 day agoWhen you screw up gitlemmy.zipimagemessage-square62fedilinkarrow-up1725arrow-down16
arrow-up1719arrow-down1imageWhen you screw up gitlemmy.zipcm0002@lemdro.id to Programmer Humor@programming.devEnglish · 1 day agomessage-square62fedilink
minus-squareunalivejoy@lemmy.ziplinkfedilinkarrow-up3·16 hours agoNever use --force. Always use --force-with-lease.
minus-squareenbiousenvy@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·14 hours agoI’ve mistyped that a couple of times to be --force-with-leash
minus-squareunalivejoy@lemmy.ziplinkfedilinkarrow-up4·12 hours agogit push origin master --force-with-leash Don’t do that to your master.
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up2·edit-212 hours agoonly do that in puppygit (with consent)
minus-squareenbiousenvy@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·7 hours agoTIL thats a real thing https://github.com/catpuppyapp/PuppyGit
Never use
--force
. Always use--force-with-lease
.I’ve mistyped that a couple of times to be
--force-with-leash
git push origin master --force-with-leash
Don’t do that to your master.
only do that in puppygit (with consent)
TIL thats a real thing https://github.com/catpuppyapp/PuppyGit