开发者

Is dcommiting from a rebased branch a good idea?

开发者 https://www.devze.com 2023-03-21 03:05 出处:网络
Consider the following layout: git|svn ----------------------------------- master|trunk local_experimental|experimental

Consider the following layout:

git                 |      svn
-----------------------------------
master              |  trunk
local_experimental  |  experimental

Is the following list of command something reasonable to do:

git checkout local_experi开发者_StackOverflow中文版mental
#hack hack hack
#commit changes to experimental svn branch
git svn dcommit experimental

#update the git repository from svn
git checkout master
git svn rebase

git checkout local_experimental
#how will svn handle the two following commands?

#rebase the experimental branch on master to get newest changes
git rebase master
git svn dcommit
0

精彩评论

暂无评论...
验证码 换一张
取 消