cm0002@lemdro.id to Programmer Humor@programming.devEnglish · 20 days agoWhen you screw up gitlemmy.zipimagemessage-square66linkfedilinkarrow-up1759arrow-down17
arrow-up1752arrow-down1imageWhen you screw up gitlemmy.zipcm0002@lemdro.id to Programmer Humor@programming.devEnglish · 20 days agomessage-square66linkfedilink
minus-squareunalivejoy@lemmy.ziplinkfedilinkarrow-up3·20 days agoNever use --force. Always use --force-with-lease.
minus-squareenbiousenvy@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up2·20 days agoI’ve mistyped that a couple of times to be --force-with-leash
minus-squareunalivejoy@lemmy.ziplinkfedilinkarrow-up4·20 days agogit push origin master --force-with-leash Don’t do that to your master.
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up2·20 days agoonly do that in puppygit (with consent)
minus-squareenbiousenvy@lemmy.blahaj.zonelinkfedilinkEnglisharrow-up1·20 days 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-leashgit push origin master --force-with-leashDon’t do that to your master.
only do that in puppygit (with consent)
TIL thats a real thing https://github.com/catpuppyapp/PuppyGit