git - github的pull request和git pull有什么关系?

标签 git github

https://help.github.com/articles/using-pull-requests/

Pull requests let you tell others about changes you've pushed to a repository on GitHub. Once a pull request is sent, interested parties can review the set of changes, discuss potential modifications, and even push follow-up commits if necessary.

git pull 是从远程仓库 pull 一个分支到本地仓库。

github的pull request和git pull有关系吗?

谢谢。

最佳答案

GitHub 上的 pull request 实际上是向其他人发出的请求,他们通过运行 pull 对他们的存储库进行某些更改git pull.

他们可以运行 git pull(使用适当的参数)来 pull 这些更改,或者他们可以单击 GitHub 界面中的按钮来执行此操作。无论哪种方式,其效果基本相同。

GitHub pull 请求的优势在于,它可以在 merge 更改之前轻松审查更改,并鼓励对更改进行公开讨论。

关于git - github的pull request和git pull有什么关系?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38233932/

相关文章:

python - 最适合 Github API v3 的 python 库

jenkins build 没有触发 github 推送

ios - git checkout master 命令给出文件将被覆盖的错误

ios - 如何为 arm64 位支持 iOS 构建 libssh2

python - 如何使用 python 在我的 github 帐户上创建远程 git 存储库或使用 python 将本地 git 存储库推送到我的 github 帐户?

git - Git无法 merge 无关分支

github - 如何找到 Github 用户的所有公开评论?

git - github 存储库中的自定义语言

git - git fetch 的优点; git rebase 原始主机

git clone 由于远程端可能的存储库损坏而中止,即使内存设置已正确完成