Git::Delta
Outputs the net number of lines added/removed by you for the current git
directory.
It sums the net change for each commit and output the sum of positive and negative contributions:
$ git-delta
123 - 100 = 23
The commits that made net contributions totalled 123 extra lines. The commits that made net code reductions removed a total of 100 lines. Net lines added: 23
Installation
gem install 'git-delta'
Usage
$ git-delta app lib
$ git-delta .js .coffee
$ git-delta --author=someone_else
$ git-delta -v
$ git-delta -rails
Other options starting with -
are passed on to git
.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request