git GitHub 可以自动合并分支吗?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35445186/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 11:47:55  来源:igfitidea点击:

Can GitHub automatically merge branches?

gitgithub

提问by Kram

We want to automatically merge out from master to another long-lived branch whenever any changes are committed to master (at the moment, this is a manual process and people forget)

我们希望在向 master 提交任何更改时自动从 master 合并到另一个长期存在的分支(目前,这是一个手动过程,人们忘记了)

I appreciate that it may not always be possible, owing to merge conflicts, but if it is possible, we'd like it to happen automatically.

我意识到由于合并冲突,这可能并不总是可行,但如果可能,我们希望它自动发生。

Is this possible?

这可能吗?

采纳答案by Sanket Meghani

You can use Github actions now https://github.com/features/actions

您现在可以使用 Github 操作https://github.com/features/actions