English 中文(简体)
• 如何在网上工作流程中体现出来?
原标题:How does git fit into your web workflow?

我先研究一下吉特,我掌握了基本概念,但如何适应一个小组的工作流程。

我的理解是,我希望:

  1. 我本人和我的团队共同分担半公开的回响,努力从(改变我们的当地复印件)和测试特征开始。

  2. 我们在那里推崇任何经测试和准备生活的东西。

  3. a 现场直播,工作名录是实际网站的基本文件夹

我理解这一点,或者说,它比需要更复杂? 只是试图总结一下我的想法,很少的辅导员详细阐述了这一问题。

最佳回答

我的团队只有一个遥远的传波,推动所有变化。

发展中的特征被分门别类,以避免打断主本,因此可能同时有多个活跃的分支。 每个开发商都有一个“当地”的回波,实际操作在开发服务器上(我们往往通过SSH使用VIM进行开发)。 每一个“地方”的重新组合都是作为独一无二的虚拟东道方,与用户名称相挂钩。 因此,可能有三个或四个不同版本的站点在服务器上运行。 这使得开发商能够立即测试编码变化。

在准备释放时,所有已完成的分行都合并起来,因此,该代码通过git被拖到与生产环境密切相关的部署前服务器上。 经核准后,具体承诺的编号与版本编号相挂钩,或者在经过几次测试以确保部署顺利进行的情况下,用git或rsynled上载到生产服务器。

问题回答

不要利用几个储存库进行开发/再生...... 我将在一个存放处使用分支机构。

More ideas about a possible model for that (and how it is used in a team) can be found in this blog post: http://nvie.com/posts/a-successful-git-branching-model/

(如果你刚刚读过这篇文章,那么上层的图表就会变得非常清楚:)


关于无关联的说明: 对许多事情来说,吉特非常强大,非常好,但也可能非常复杂(你对由凯尔特黑客撰写的版本控制系统的期望完全相同;D)。

分散的VCS,Bazaar可能是一个好的替代办法。 它赞同基本的想法。 但是,我一再听到一些不同的人说,对没有计算机科学背景并且可能首次使用版本控制的团队来说,这种控制往往非常容易。

(如符合您的标准。) 我不知道你的团队,而人们的背景和经验在网络开发方面相当广泛。 不要在这里开始一个CS火场。





相关问题
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 ...

热门标签