File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ codeprints-analyzer
4141You can set the start- and end-date of the output.
4242
4343```
44- docker run -v `pwd`:/repo codeprints/analyzer --after "2020-12-24" --before "2021-02-10"
44+ docker run -v `pwd`:/repo codeprints/analyzer run --after "2020-12-24" --before "2021-02-10"
4545```
4646
4747The syntax is exactly the same that ` git ` also uses.
@@ -53,14 +53,27 @@ If you work in a bigger team, you might want to filter the contributions by
5353author. Here is how:
5454
5555```
56- docker run -v `pwd`:/repo codeprints/analyzer --author "Matthias" --author "Octocat"
56+ docker run -v `pwd`:/repo codeprints/analyzer run --author "Matthias" --author "Octocat"
5757```
5858
5959To get a list of all author names, run ` git shortlog --summary --numbered --email ` .
6060
6161(You can also filter by committers. The difference is subtle, but in contrast to authors, these are the
6262contributors who pushed/committed a patch to the repository.)
6363
64+ ## Merging multiple codeprints output files
65+
66+ Do you have multiple repositories that you want to analyze?
67+ No problem! Just run the tool in every repository folder.
68+ After that, copy the files into a single folder and run the following command:
69+
70+ ```
71+ docker run -v `pwd`:/repo codeprints/analyzer merge
72+ ```
73+
74+ This will merge all codeprints\_\* .json files in the ` repo ` directory into one file.
75+ (It will accumulate all contribution counts for each day.)
76+
6477## More options
6578
6679To get an exhaustive list of options, run
You can’t perform that action at this time.
0 commit comments