← 返回命令列表

Linux command

git-request-pull 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Generate pull request summary

git request-pull [start] [url]

Generate summary between a tag and a specific branch end point

git request-pull [v1.0] [https://example.com/repo.git] [my-branch]

Include patch text in the output

git request-pull -p [v1.0] [https://example.com/repo.git]

说明

git request-pull generates a summary of pending changes suitable for email submission. It creates a message describing the commits between a starting point and the current HEAD, along with the URL to pull from. This command is commonly used in email-based patch workflows to ask maintainers to pull changes from your repository.

参数

-p
Include patch text in the output.

FAQ

What is the git-request-pull command used for?

git request-pull generates a summary of pending changes suitable for email submission. It creates a message describing the commits between a starting point and the current HEAD, along with the URL to pull from. This command is commonly used in email-based patch workflows to ask maintainers to pull changes from your repository.

How do I run a basic git-request-pull example?

Run `git request-pull [start] [url]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p do in git-request-pull?

Include patch text in the output.