克隆 svn 库,根据大小需要一些时间
git svn clone https://192.168.11.160/svn/P2015pro/branchs/ins2.0/04-Code/ins-ui
输入用户名,密码
create & checkout 新分支
git checkout -b dev
到这边就可以按 git 流程开发了
提交到 svn 流程 重要 按顺序 只保留最新的commit log
git checkout master
git svn rebase
git merge dev
git svn dcommit
提交到 svn 流程 重要 按顺序
git checkout master
git merge dev
git svn rebase
git svn dcommit
其他问题
mac git svn core Can't locate SVN/Core.pm
sudo mkdir /Library/Perl/5.18/auto
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/SVN /Library/Perl/5.18/darwin-thread-multi-2level
sudo ln -s /Applications/Xcode.app/Contents/Developer/Library/Perl/5.18/darwin-thread-multi-2level/auto/SVN /Library/Perl/5.18/auto/
git log graph better
https://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git
https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs
相关教程
https://www.contrid.co.za/2014/10/solved-os-x-yosemite-git-svn-broken/