summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKimmo Brunfeldt <kimmobrunfeldt@gmail.com>2016-09-22 14:09:22 +0300
committerGitHub <noreply@github.com>2016-09-22 14:09:22 +0300
commitfb76ed35e9893f713f5ab6001e0334f947c5f1ab (patch)
tree2800a047badcd64c3c50a6371cd82f07352b5956
parentb696b68f9c2372b81e695edbfd4b73c1cfbdc992 (diff)
parentaaadb536908a5363a6b51061ad885ce1bc88b638 (diff)
downloadgit-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.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 697c90c..64412dc 100644
--- a/README.md
+++ b/README.md
@@ -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.