简体中文 ▾
Localized versions of git-request-pull manual
Topics ▾
Email
Latest version
▾
git-request-pull last updated in 2.43.0
Changes in the git-request-pull manual
Setup and Config
Getting and Creating Projects
Basic Snapshotting
Branching and Merging
Sharing and Updating Projects
Inspection and Comparison
Patching
Debugging
External Systems
Server Admin
Guides
- gitattributes
- Command-line interface conventions
- Everyday Git
- Frequently Asked Questions (FAQ)
- Glossary
- Hooks
- gitignore
- gitmodules
- Revisions
- Submodules
- Tutorial
- Workflows
- All guides...
Administration
Plumbing Commands
- 2.43.0 11/20/23
- 2.35.1 → 2.42.1 no changes
- 2.35.0 01/24/22
描述
Generate a request asking your upstream project to pull changes into their tree. The request, printed to the standard output, begins with the branch description, summarizes the changes, and indicates from where they can be pulled.
上游项目预计会有以 <开始>
命名的提交,输出会要求它通过访问以 <URL>
命名的仓库,整合您自该提交后所做的更改,直至以 <结束>
命名的提交。
实例
Imagine that you built your work on your master
branch on top of the v1.0
release, and want it to be integrated into the project. First you push that change to your public repository for others to see:
git push https://git.ko.xz/project master
然后,运行这条命令:
git request-pull v1.0 https://git.ko.xz/project master
会向上游发出请求,总结从 v1.0
版本到您的 master
版本之间的变化,以便从您的公共仓库中提取。
如果您将更改推送到的分支名称与本地分支不同,例如
git push https://git.ko.xz/project master:for-linus
然后,您可以用
git request-pull v1.0 https://git.ko.xz/project master:for-linus
GIT
属于 git[1] 文档