Compute detailed commit stats for local git repositories.
Built as a means of learning Rust, would greatly appreciate any and all feedback.
Coming soon.
You should have Rust and Cargo installed.
-
Install with Cargo (
~/.cargo/bin
should be in your$PATH
):$ cargo install --git https://github.com/kshvmdn/git-timesheet $ which git-timesheet ~/.cargo/bin/git-timesheet
-
Or, build manually:
$ git clone https://github.com/kshvmdn/git-timesheet.git git-timesheet && cd $_ $ cargo build --release $ mv target/release/git-timesheet /usr/local/bin # or any other directory in your $PATH! $ which git-timesheet /usr/local/bin/git-timesheet
git-timesheet works just like any other git subcommand. View the demo for sample output.
$ cd /path/to/git/directory
$ git timesheet
...
This project is completely open source, feel free to open an issue or submit a pull request. Very new to Rust, would love to hear any feedback.
- Calculate average commit rate (per hr, per day, etc) and other stats.
- Add functionality to filter committers (by email).
- Improve error handling.
- Inspired by wolever/git-work-life.
git-timesheet is released under the MIT license.