Git patch => SVN patch

Converts git diff to svn patch format


git diff --no-prefix | sed -e "s/^diff --git [^[:space:]]*/Index:/" -e "s/^index.*/===================================================================/" > changes.patch

LOL

Leave a Reply

Your email address will not be published. Required fields are marked *