Maison  >  Questions et réponses  >  le corps du texte

java - Comment migrer un projet Git vers SVN? Quel dieu peut me donner des conseils ?

Comment migrer un projet git vers SVN ? Qui peut me donner des conseils

迷茫迷茫2686 Il y a quelques jours888

répondre à tous(1)je répondrai

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-12 09:27:13

    1. cd /path/to/git/localrepo
    2. svn mkdir --parents protocol:///path/to/repo/PROJECT/trunk -m "Importing git repo"
    3. git svn init protocol:///path/to/repo/PROJECT -s
    4. git svn fetch
    5. git rebase origin/trunk
    5.1.  git status
    5.2.  git add (conflicted-files)
    5.3.  git rebase --continue
    5.4.  (repeat 5.1.)
    6. git svn dcommit
    

    Pour plus de détails, veuillez vous référer à https://stackoverflow.com/que...

    répondre
    0
  • Annulerrépondre