diff options
author | Kimmo Brunfeldt <kimmobrunfeldt@gmail.com> | 2016-09-22 14:09:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-22 14:09:22 +0300 |
commit | fb76ed35e9893f713f5ab6001e0334f947c5f1ab (patch) | |
tree | 2800a047badcd64c3c50a6371cd82f07352b5956 | |
parent | b696b68f9c2372b81e695edbfd4b73c1cfbdc992 (diff) | |
parent | aaadb536908a5363a6b51061ad885ce1bc88b638 (diff) | |
download | git-hours-fb76ed35e9893f713f5ab6001e0334f947c5f1ab.zip git-hours-fb76ed35e9893f713f5ab6001e0334f947c5f1ab.tar.gz git-hours-fb76ed35e9893f713f5ab6001e0334f947c5f1ab.tar.bz2 |
Merge pull request #25 from kh0r/master
Add docker run option
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -162,3 +162,11 @@ system by running: $ exit $ vagrant destroy -f ``` + +## Run with docker + +Install [docker](http://www.docker.com/) and run the following command inside the git repo you want to analyze: +``` +docker run --rm -v $(pwd):/code khor/git-hours +``` +It mounts the current directory (pwd) inside the docker container and runs `git hours` on it. |