本文介绍了为什么git'pull request'不叫'推送请求'?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

用于将分支与官方存储库合并的术语是拉取请求。这是令人困惑的,因为看起来我正在请求将更改推送到官方存储库。

The terminology used to merge a branch with an official repository is a 'pull request'. This is confusing, as it appears that I am requesting to push my changes to the official repository.

为什么它称为拉请求而不是推送请求?

Why is it called a pull request and not a push request?

推荐答案

推送是强制目标存储库中存在的更改。 Pull是目标存储库,用于获取您所做的更改。

"Push" is you forcing the changes being present in the target repository. "Pull" is the target repository grabbing your changes to be present there.

请求是请求目标存储库请求获取更改。

A "pull request" is you requesting the target repository to please grab your changes.

推送请求是目标库,要求您推送更改。

A "push request" would be the target repository requesting you to push your changes.

这篇关于为什么git'pull request'不叫'推送请求'?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-04 20:54