Skip to content

Instantly share code, notes, and snippets.

@griffiti
Last active September 15, 2016 15:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save griffiti/4e503acba74fe50be95220fd7012909a to your computer and use it in GitHub Desktop.
Save griffiti/4e503acba74fe50be95220fd7012909a to your computer and use it in GitHub Desktop.
SVN log commits by author
svn log --xml --stop-on-copy [URL] | grep '<author>' | sed -e 's/<author>\([^<]*\)<\/author>/\1/' | sort | uniq -c
# Example output:
#
# 20 developer1
# 103 developer4
# 47 developer5
# 114 developer3
@griffiti
Copy link
Author

[URL] is optional and not needed if you are running the command from within a working copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment