Skip to content

Instantly share code, notes, and snippets.

@rmpel
Created May 15, 2016 07:37
Show Gist options
  • Save rmpel/27561cd32fc01a06d89082dca0a4297d to your computer and use it in GitHub Desktop.
Save rmpel/27561cd32fc01a06d89082dca0a4297d to your computer and use it in GitHub Desktop.
Create user-map for conversion from SVN to GIT
#!/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