Created
May 15, 2016 07:37
-
-
Save rmpel/27561cd32fc01a06d89082dca0a4297d to your computer and use it in GitHub Desktop.
Create user-map for conversion from SVN to GIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2"@example.com>"}' | sort -u > users.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment