Skip to content

Compute detailed commit stats for local git repositories.

License

Notifications You must be signed in to change notification settings

kshvmdn/git-timesheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-timesheet

Compute detailed commit stats for local git repositories.

Built as a means of learning Rust, would greatly appreciate any and all feedback.

Contents

Demo

Coming soon.

Installation

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

Usage

git-timesheet works just like any other git subcommand. View the demo for sample output.

$ cd /path/to/git/directory
$ git timesheet
...

Contribute

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.

TODO

  • Calculate average commit rate (per hr, per day, etc) and other stats.
  • Add functionality to filter committers (by email).
  • Improve error handling.

Credits

License

git-timesheet is released under the MIT license.

About

Compute detailed commit stats for local git repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages