pull 请求和 merge 请求有什么区别?
在 GitHub 中,它是一个 Pull Request,而在 GitLab 中,它是一个 Merge Request。那么,这两者之间有区别吗?
最佳答案
GitLab 的 "merge request"功能等同于 GitHub 的 "pull request"特征。两者都是从另一个分支或分支中 pull 更改到您的分支并将更改与现有代码 merge 的方法。它们是代码审查和变更管理的有用工具。
安article from GitLab讨论命名特征的差异:
Merge or pull requests are created in a git management application and ask an assigned person to merge two branches. Tools such as GitHub and Bitbucket choose the name pull request since the first manual action would be to pull the feature branch. Tools such as GitLab and Gitorious choose the name merge request since that is the final action that is requested of the assignee. In this article we'll refer to them as merge requests.
“merge 请求”不应与 git merge
混淆命令。 “pull 请求”也不应与 git pull
混淆。命令。这两个 git
命令都在 pull 请求和 merge 请求的幕后使用,但 merge/pull 请求指的是比这两个命令更广泛的主题。
关于git - pull 请求与 merge 请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22199432/