SlideShare a Scribd company logo
SVN Git 工作流程
开始前 团队正在使用subversion
无法完全转换到git(SCM支持,部署等)
希望离线开发、本地提交支持
Repositories SVN:唯一的仓库地址
GIT:每个工作拷贝(Working copy)有自己的仓库,保存在每个项目根目录下.git子目录
URL SVN:约定路径,常见 trunk/, branches/, tags/ 目录
GIT:内置branches, tags,默认master分支
SVN工作流程:特性分支 创建:
Hack, hack, hack...commit
同步trunk更新
每日同步trunk svn log –stop-on-copy (|egrep -i 'synced|merged') svn merge -r 3233:5423  https://dev/trunk svn ci -m "Synced in changed from trunk: re merged in revs 3233:5423" svn cp  https://dev/trunk  https://dev/branches/coolstuff

More Related Content

PPTX
GRUNT - The JavaScript Task Runner
PPTX
Docker Ecosystem: Part IV - Swarm
PDF
Debianでできる簡単監視システム。
PDF
A proven path for migrating from clearcase to git and or subversion
PDF
Dart intro
PDF
Emacs入门
PDF
Write a Google Closure Editor Plugin
PDF
Ruby的类和对象模型
GRUNT - The JavaScript Task Runner
Docker Ecosystem: Part IV - Swarm
Debianでできる簡単監視システム。
A proven path for migrating from clearcase to git and or subversion
Dart intro
Emacs入门
Write a Google Closure Editor Plugin
Ruby的类和对象模型
Ad

git svn workflow