▲ 754 ▼ When you screw up git (lemmy.zip) submitted 1 year ago by cm0002@lemdro.id to c/programmer_humor@programming.dev 57 comments fedilink hide all child comments
[–] martinb@lemmy.sdf.org 18 points 1 year ago (8 children) You should be forcibly kept away from production systems... permalink fedilink source parent hideshow 8 child comments replies: [–] henfredemars@infosec.pub 12 points 1 year ago (2 children) We had an intern do this once. We changed our server config to make sure it wouldn’t accept such operations. permalink fedilink source parent hideshow 2 child comments replies: [–] gravitas_deficiency@sh.itjust.works -3 points 1 year ago* (1 child) It’s just a branch guard + properly implementing git user and team permission structures - you’re not “configuring a server” permalink fedilink source parent hideshow 1 child comment replies: [–] marcos@lemmy.world 4 points 1 year ago I wonder what you think "configuring" means. permalink fedilink source parent [–] joyjoy@lemmy.zip 3 points 1 year ago (4 children) Never use --force. Always use --force-with-lease. permalink fedilink source parent hideshow 4 child comments replies: [–] enbiousenvy@lemmy.blahaj.zone 2 points 1 year ago (3 children) I've mistyped that a couple of times to be --force-with-leash permalink fedilink source parent hideshow 3 child comments replies: [–] joyjoy@lemmy.zip 4 points 1 year ago git push origin master --force-with-leash Don't do that to your master. permalink fedilink source parent [–] cupcakezealot@piefed.blahaj.zone 2 points 1 year ago* (1 child) only do that in puppygit (with consent) permalink fedilink source parent hideshow 1 child comment replies: [–] enbiousenvy@lemmy.blahaj.zone 1 point 1 year ago TIL thats a real thing https://github.com/catpuppyapp/PuppyGit permalink fedilink source parent
[–] henfredemars@infosec.pub 12 points 1 year ago (2 children) We had an intern do this once. We changed our server config to make sure it wouldn’t accept such operations. permalink fedilink source parent hideshow 2 child comments replies: [–] gravitas_deficiency@sh.itjust.works -3 points 1 year ago* (1 child) It’s just a branch guard + properly implementing git user and team permission structures - you’re not “configuring a server” permalink fedilink source parent hideshow 1 child comment replies: [–] marcos@lemmy.world 4 points 1 year ago I wonder what you think "configuring" means. permalink fedilink source parent
[–] gravitas_deficiency@sh.itjust.works -3 points 1 year ago* (1 child) It’s just a branch guard + properly implementing git user and team permission structures - you’re not “configuring a server” permalink fedilink source parent hideshow 1 child comment replies: [–] marcos@lemmy.world 4 points 1 year ago I wonder what you think "configuring" means. permalink fedilink source parent
[–] marcos@lemmy.world 4 points 1 year ago I wonder what you think "configuring" means. permalink fedilink source parent
[–] joyjoy@lemmy.zip 3 points 1 year ago (4 children) Never use --force. Always use --force-with-lease. permalink fedilink source parent hideshow 4 child comments replies: [–] enbiousenvy@lemmy.blahaj.zone 2 points 1 year ago (3 children) I've mistyped that a couple of times to be --force-with-leash permalink fedilink source parent hideshow 3 child comments replies: [–] joyjoy@lemmy.zip 4 points 1 year ago git push origin master --force-with-leash Don't do that to your master. permalink fedilink source parent [–] cupcakezealot@piefed.blahaj.zone 2 points 1 year ago* (1 child) only do that in puppygit (with consent) permalink fedilink source parent hideshow 1 child comment replies: [–] enbiousenvy@lemmy.blahaj.zone 1 point 1 year ago TIL thats a real thing https://github.com/catpuppyapp/PuppyGit permalink fedilink source parent
[–] enbiousenvy@lemmy.blahaj.zone 2 points 1 year ago (3 children) I've mistyped that a couple of times to be --force-with-leash permalink fedilink source parent hideshow 3 child comments replies: [–] joyjoy@lemmy.zip 4 points 1 year ago git push origin master --force-with-leash Don't do that to your master. permalink fedilink source parent [–] cupcakezealot@piefed.blahaj.zone 2 points 1 year ago* (1 child) only do that in puppygit (with consent) permalink fedilink source parent hideshow 1 child comment replies: [–] enbiousenvy@lemmy.blahaj.zone 1 point 1 year ago TIL thats a real thing https://github.com/catpuppyapp/PuppyGit permalink fedilink source parent
[–] joyjoy@lemmy.zip 4 points 1 year ago git push origin master --force-with-leash Don't do that to your master. permalink fedilink source parent
[–] cupcakezealot@piefed.blahaj.zone 2 points 1 year ago* (1 child) only do that in puppygit (with consent) permalink fedilink source parent hideshow 1 child comment replies: [–] enbiousenvy@lemmy.blahaj.zone 1 point 1 year ago TIL thats a real thing https://github.com/catpuppyapp/PuppyGit permalink fedilink source parent
[–] enbiousenvy@lemmy.blahaj.zone 1 point 1 year ago TIL thats a real thing https://github.com/catpuppyapp/PuppyGit permalink fedilink source parent