rhysd / cargo-husky

Setup Git hooks automatically for cargo projects with :dog:
https://crates.io/crates/cargo-husky
MIT License
325 stars 20 forks source link

branch-specific settings #29

Closed bbarker closed 3 years ago

bbarker commented 3 years ago

Has anyone used husky in a way that allows pushing code in any state of abject failure to certain branches? Sometimes it is still handy to backup changes in a git branch even if the code isn't even compiling (in my opinion, of course).

bbarker commented 3 years ago

Ah, well, git has a way to do it, --no-verify, e.g.:

git push --no-verify -u origin my-shady-branch