Git workflow for small web team

耗尽温柔 提交于 2019-12-04 12:52:38

Do you really need a separate repository? Your live code is only a single branch; you can use other branches for "deploy candidates" under testing.

You don't necessarily need a script to pull the changes - developers could just push them to a separate branch, then invoke a script to test that branch.

Have you considered code review? Gerrit might help.
(See Android's Gerrit instance for an idea of the functionality you get.)

You could then set up a testing environment that would pull a change or set of changes from refs/for/master to the test server.

This is quite fuzzy in my head, but maybe you find it a useful pointer.

I found this to be extremely helpful:

http://nvie.com/posts/a-successful-git-branching-model/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!