Posts

Showing posts from February, 2019

Migrate from SVN to Git

If you are in process of migrating from SVN to Git you are not alone and many people have already done it time and again. There are many good articles to guide you on that matter, the purpose of this article is to tell you my experience in the process. Migration to git from SVN comprises of few steps:- 1)Getting contributors:-                                     First step is to get the list of contributors from SVN, to do so right click to open git bash on source folder and  execute command below:- svn log -q | awk -F '|' '/^r/ {sub("^ ", "", $2); sub(" $", "", $2); print $2" = "$2" <"$2">"}' | sort -u > authors-transform.txt This may take a while so don't be disheartened git is doing its job and once done will output the file in command above. If you get error saying SVN is not a known command you may not have SVN command line utility so you would like to install the same, if it