开发者

Is dcommiting from a rebased branch a good idea?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜