convert/import CVS repo into GIT repo

Importing from CVS into Git

To setup a new Git repository imported from CVS, make sure you have a $CVSROOT parameter initialized in your session :

CVSROOT=:cvs-login-method:cvs-user-name:cvs-user-password@cvs-server-name:/path/to/CVS/root

and run the following command:

$ git cvsimport -v -d $CVSROOT -C git-dir-to-create -r cvs cvs-module-to-checkout

Note: cvsimport uses the cvs command. If … Continue reading