Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcol/co-colo-rs
A clone of commit-colors written in Rust
https://github.com/mcol/co-colo-rs
Last synced: 23 days ago
JSON representation
A clone of commit-colors written in Rust
- Host: GitHub
- URL: https://github.com/mcol/co-colo-rs
- Owner: mcol
- License: gpl-3.0
- Created: 2024-11-21T21:55:35.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-07T11:32:23.000Z (27 days ago)
- Last Synced: 2024-12-07T12:22:15.882Z (27 days ago)
- Language: Rust
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# co-colo-rs
A clone of [commit-colors](https://github.com/sparkbox/commit-colors) written in Rust.
# 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:```sh
#!/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:```sh
git config --global core.hooksPath /path/to/my/centralized/hooks
```You can follow [these instructions][so] if you have an older version
of git or want to know more details.[so]: https://stackoverflow.com/questions/2293498/applying-a-git-post-commit-hook-to-all-current-and-future-repositories