Created
September 13, 2011 11:07
-
-
Save luisfaceira/1213601 to your computer and use it in GitHub Desktop.
Oneliner to convert svn:ignore into .gitignore
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
svn propget -R svn:ignore | grep -v "^$" | awk '{print "mkdir " $1 " & echo \"" $3 "\" > " $1 "/.gitignore & svn add " $1 "/.gitignore"}' | /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checkout https://gist.github.com/3450385