您的位置:首頁技術文章
文章詳情頁

java - git項目遷移到SVN怎么實現的?哪位大神指點指點

瀏覽:53日期:2023-11-07 15:09:54

問題描述

git項目遷移到SVN怎么實現的?哪位大神指點指點

問題解答

回答1:

1. cd /path/to/git/localrepo2. svn mkdir --parents protocol:///path/to/repo/PROJECT/trunk -m 'Importing git repo'3. git svn init protocol:///path/to/repo/PROJECT -s4. git svn fetch5. git rebase origin/trunk5.1. git status5.2. git add (conflicted-files)5.3. git rebase --continue5.4. (repeat 5.1.)6. git svn dcommit

具體細節參考https://stackoverflow.com/que...

標簽: java
相關文章:
国产综合久久一区二区三区