git-timecost/README.md

58 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2014-09-24 07:17:51 +00:00
TimeCost for Git
================
2013-09-23 12:12:10 +00:00
2014-09-24 07:31:45 +00:00
Use git logs to give an estimation of spent time & costs of your projects.
2013-09-23 12:12:10 +00:00
Installation
------------
2014-09-24 13:52:12 +00:00
Install the project with:
2015-02-25 16:22:20 +00:00
gem install timecost
2013-09-23 12:12:10 +00:00
Usage
-----
To get the total time spent on your git project
```
2014-09-24 07:17:51 +00:00
$ git timecost
2013-09-23 12:12:10 +00:00
[...]
(1.36) 2012-12-31T11:15:31+01:00 - 2012-12-31T12:36:55+01:00
* Glenn Y. Rolland <glenux@glenux.net>
Fix filtering.
* Glenn Y. Rolland <glenux@glenux.net>
Time range extractor for git.
TOTAL: 3.36 hours
```
To get the time spent on your project since a given date
```
2015-02-25 16:22:20 +00:00
$ git timecost --after 2013-03-01
set date filter to >= 2013-03-01
2013-09-23 12:12:10 +00:00
(1.0) 2013-09-23T13:02:39+02:00 - 2013-09-23T14:02:39+02:00
* Glenn Y. Rolland <glenux@glenux.net>
Add support for import / export / merge of ranges.
TOTAL: 1.00 hours
```
For other possibilities
2015-02-25 16:22:20 +00:00
git timecost -h
2013-09-23 12:12:10 +00:00
2014-09-24 13:52:12 +00:00
Contributing
------------
2015-02-25 16:22:20 +00:00
1. Fork it ( https://github.com/glenux/timecost/fork )
2014-09-24 13:52:12 +00:00
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request
2015-02-25 16:22:20 +00:00