Clone multiple SVN projects with git-svn

后端 未结 3 1480
醉酒成梦
醉酒成梦 2021-01-05 07:55

I have a large Java app that is split up into multiple projects. Each project has its own folder in a Subversion repository like so:

AccountingCore

  • tr
3条回答
  •  独厮守ぢ
    2021-01-05 08:44

    If you have a shell, you could enter

    for DIR in AccountingCore Common WebCommon; do mkdir $DIR; cd $DIR; git init; git svn init -s svn://host/path/$DIR; git svn fetch; cd ..; done

    That is, if I made no mistakes.

提交回复
热议问题