Open emexelem opened 3 years ago
Hi, I suggest using git-quick-stats with a script, example :
WORKING_DIR="$(dirname "$0")/"
cd "${WORKING_DIR}" || exit 1
mkdir -p "${WORKING_DIR}/results/"
export _GIT_LOG_OPTIONS="--ignore-all-space --ignore-blank-lines"
export _GIT_BRANCH="master"
for d in ~/git/*/; do
cd "${d}" || true
git-quick-stats --git-stats-by-branch >"${WORKING_DIR}/results/$(basename ${d}).txt"
done
That script is useful but I think it would still be nice to have it aggregate the statistics
Describe the solution you'd like I have a large number of repositories and I would like to produce the contribution stats by author aggregated by multiple repositories. An additional parameter could be provided on the command line to find repositories, or provide the list of repositories directly using find and xargs git quick-stats --repositoriesList={}