Skip to content

Instantly share code, notes, and snippets.



Created Sep 23, 2011
What would you like to do?
Script to build an "authors" template file for migrating Subversion repo 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>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment