Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 901 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 901 Bytes

co-colo-rs

A clone of commit-colors written in Rust.

animated gif demonstrating co-colo-rs

Adding co-colo-rs to a specific repository

Create a file named post-commit inside the .git/hooks of your repository with the following content and ensure that it's executable:

#!/bin/bash
commit-colors $(git rev-parse HEAD)

Adding co-colo-rs to all you repositories

Put the post-commit file generated above to a directory of your choice, then run this command:

git config --global core.hooksPath /path/to/my/centralized/hooks

You can follow these instructions if you have an older version of git or want to know more details.