Skip to content

Playing with Rust as an option for writing git hooks

License

Notifications You must be signed in to change notification settings

JWorthe/rust_git_hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Playing with Rust as an option for writing git hooks.

To try the hooks, do the following to compile the hooks and symlink them into your git hooks folder.

cargo build

ln -s $PWD/target/debug/pre-commit .git/hooks/pre-commit
ln -s $PWD/target/debug/prepare-commit-msg .git/hooks/prepare-commit-msg
ln -s $PWD/target/debug/commit-msg .git/hooks/commit-msg
ln -s $PWD/target/debug/pre-push .git/hooks/pre-push

License

MIT Licensed. See LICENSE file for details.

About

Playing with Rust as an option for writing git hooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages