将我的主人交给他们的分支机构(Committing my master to their branches)

编程入门 行业动态 更新时间:2024-10-10 13:17:43
将我的主人交给他们的分支机构(Committing my master to their branches)

假设我有一个名为A的主网站。

然后我有三个独立的程序员制作他们自己的A分支; 我们称他们为BCD. 他们只是进行个别美学相关的编码变化,以了解BCD如何通过不同的视觉变化看待行动。 换句话说,它们都具有相同的功能,但也许我们交换按钮,文本字段,3D对象等,只是为了看看我们对一个分支的想法是否看起来比另一个更好。

当我对A进行功能更改时,如何在BCD之间推送这些更改的代码,以便将新功能实现到他们的项目中?

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.

更多推荐

本文发布于:2023-08-07 16:17:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465322.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:他们的   分支机构   主人   branches   master

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!