lobsters__frankwiles@crustaceanson.theshelf.topM to Lobsters - all tags@crustaceanson.theshelf.topEnglish · 15 days ago[security, vcs] I got targeted: Trying to get your credentials via a git post-checkout hookfrankwiles.comexternal-linkmessage-square27linkfedilinkarrow-up10file-textcross-posted to: technology@lemmy.world
arrow-up10external-link[security, vcs] I got targeted: Trying to get your credentials via a git post-checkout hookfrankwiles.comlobsters__frankwiles@crustaceanson.theshelf.topM to Lobsters - all tags@crustaceanson.theshelf.topEnglish · 15 days agomessage-square27linkfedilinkfile-textcross-posted to: technology@lemmy.world
minus-squarelobsters__vifon@crustaceanson.theshelf.topMlinkfedilinkarrow-up1·15 days agoIt’s not possible to commit Git hooks into the repository. A helper script can generate these, but you’d need to run it first. Hooks are already purely local to a specific clone. score 2 · canonical
minus-squarelobsters__toastal@crustaceanson.theshelf.topMlinkfedilinkarrow-up1·15 days agoIn theory, but I have seen so many folks commit something like Husky or pre-commit hooks & demand you set these up. score 1 · canonical
It’s not possible to commit Git hooks into the repository. A helper script can generate these, but you’d need to run it first. Hooks are already purely local to a specific clone.
score 2 · canonical
In theory, but I have seen so many folks commit something like Husky or pre-commit hooks & demand you set these up.
score 1 · canonical