cm0002 ( cm0002@lemdro.id ) to Programmer Humor@programming.devEnglish · 1 year agoWhen you screw up gitlemmy.zipimagemessage-square33linkfedilinkarrow-up1458
arrow-up1458imageWhen you screw up gitlemmy.zipcm0002 ( cm0002@lemdro.id ) to Programmer Humor@programming.devEnglish · 1 year agomessage-square33linkfedilink
minus-squareunalivejoy ( joyjoy@lemmy.zip ) linkfedilinkarrow-up1·1 year agoNever use --force. Always use --force-with-lease.
minus-squareenbiousenvy ( enbiousenvy@lemmy.blahaj.zone ) linkfedilinkEnglisharrow-up2·1 year agoI’ve mistyped that a couple of times to be --force-with-leash
minus-squareunalivejoy ( joyjoy@lemmy.zip ) linkfedilinkarrow-up4·1 year agogit push origin master --force-with-leash Don’t do that to your master.
minus-squarekaty ✨ ( cupcakezealot@piefed.blahaj.zone ) linkfedilinkEnglisharrow-up2·1 year agoonly do that in puppygit (with consent)
minus-squareenbiousenvy ( enbiousenvy@lemmy.blahaj.zone ) linkfedilinkEnglisharrow-up1·1 year 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