English 中文(简体)
git svn and working with private Branch?
原标题:git svn and working with private branches?

这里的新用户。 我想在SVN环境中使用it,但一米。 从我阅读的一些书籍和一些简单的试验中,我发现了一些令人不安的陷阱,希望得到澄清,说明如何在没有我的同事想要杀死我的情况下开始。

我想我的工作是:

  • a master git branch that stays in step with svn s trunk.

  • 当地的一些分支,即我的工作和工作。

  • 我想经常将专题科提升到主人手中。

  • 当我准备就绪时,我要把一个特遣部门与主人合并,并致力于避开。

这是典型的工作流程吗?

最初,我正在使用混凝土,把我的主子和特工分合并起来。 这导致各种冲突和问题。 我后来读到,避免使用混凝土混凝土,并贴上加固基。 那么,以下幽灵指挥部是否正确?

  • git svn rebase (to pull down latest changes to master)
  • git checkout -b myAwesomeFeature (to make a feature branch to work on)
  • ... do some work, make commits to my feature branch
  • <<< TIME GOES BY >>>
  • git checkout master
  • git svn rebase (to pull down new stuff)
  • git checkout myAwesomeFeature
  • git rebase master ( to get svn trunk s stuff into my feature branch)
  • <<< READY TO PUSH MY FEATURE BRANCH >>>
  • git checkout master
  • git rebase myAwesomeFeature (to fast forward masters head to get my feature stuff in)
  • git svn dcommit (to finally publish)

确实会赞赏任何建议或建议,帮助一个鼓舞人心的用户生活在一个衰弱的世界中。 增 编

最佳回答

你的工作与我一样。 如果你只承诺修补短.,那就够了。 当你致力于多个救生分行时,情况就变得复杂了,因为这些分行不仅合并了内容,而且还改变了点到点子的分行,在这种情况下,你只能读到<条码>。 如下文所述,在需要时,将目标定位在另一个部门:。 2. 超负荷电池

还值得理解的是,SVN没有能力处理非线性历史,而git 并可能与它一起使用:git svn workflow - norm Branch and mer

问题回答

暂无回答




相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签