假设我有一个名为A的主网站。
然后我有三个独立的程序员制作他们自己的A分支; 我们称他们为B , C和D. 他们只是进行个别美学相关的编码变化,以了解B , C和D如何通过不同的视觉变化看待行动。 换句话说,它们都具有相同的功能,但也许我们交换按钮,文本字段,3D对象等,只是为了看看我们对一个分支的想法是否看起来比另一个更好。
当我对A进行功能更改时,如何在B , C和D之间推送这些更改的代码,以便将新功能实现到他们的项目中?
Lets say I have a master website called A.
Then I have three individual programmers make their own branches of A; lets call them B, C, and D. They are only making individual aesthetic-related coding changes to see how B, C, and D look in action with different visual changes. In other words, they all have the same functionality but maybe we swapped buttons, text fields, 3D objects, etc. just to see if our idea for one branch looks better than another.
As I make functional changes to A, how can I push the code for those changes across B, C, and D so that the new features are implemented into their projects?
最满意答案
你不会把它推给他们。 你推它给主人,他们把它拉到自己的代码。 至少,这是我的理解,使用bitbucket。 我想在GitHub中你提交了一个“拉取请求”,告诉他们审查并考虑拉它。
You don't push it to them. You push it to master and they pull it to their own codes. At least, that's my understanding, using bitbucket. I think in GitHub you submit a "pull request", which tells them to review and consider pulling it.
更多推荐
发布评论