GIT Weekly Activity

git, git-bash, git-diff, git-log, report

Solution

List of changes for specific user in specific date range - Each file details

git log --pretty=format:"%h,%an,%ad,%s" --author=example@email.com --since=2012-11-19 --until=2012-11-20 --date=short --numstat

List of changes for specific user in specific date range - Commit summary

git log --pretty=format:"%h,%an,%ad,%s" --author=example@email.com --since=2012-11-19 --until=2012-11-20 --date=short --shortstat

Final short version

git log --pretty=format:"%Cgreen%ad%x09%Cblue%s" --date=short --author=example@email.com --shortstat --since=2012-11-19 --until=2012-11-20

Problem

I would like to generate a weekly GIT report, where I can see how many code has been submitted and deleted by each developer in specific timeframe. The purpose is to get general overview of developers activity in specific timeframe - Start date - End date - Developer - Commits - Added code - Deleted code It would be great if I can export these information into csv ``` [some-script/command] > weekly-git-log.csv ```

Original source