Skip to content

Instantly share code, notes, and snippets.

@18601673727
Created October 31, 2014 08:11
Show Gist options
  • Save 18601673727/f0a21e57161a97c91399 to your computer and use it in GitHub Desktop.
Save 18601673727/f0a21e57161a97c91399 to your computer and use it in GitHub Desktop.
Convert svn to git
#!/usr/bin/env bash
authors=$(svn log -q | grep -e '^r' | awk 'BEGIN { FS = "|" } ; { print $2 }' | sort | uniq)
for author in ${authors}; do
echo "${author} = NAME <USER@DOMAIN>";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment