This video will cover the basics on how to create a git hook using Rust.
Links:
pre-commit: https://pre-commit.com/
Git hooks documentation: https://git-scm.com/book/en/v2/Custom...
Rust by example -- Unit testing: https://doc.rust-lang.org/rust-by-exa...
Rust fmt git repo: https://github.com/rust-lang/rustfmt
Rust docs:
args: https://doc.rust-lang.org/std/env/fn....
process::exit: https://doc.rust-lang.org/std/process...
ExistStatus: https://doc.rust-lang.org/std/process...
My social links:
Twitter: / crazcalm
IG: / crazcalm.tech.stack