2005-09-08 02:26:23 +02:00
|
|
|
git-request-pull(1)
|
|
|
|
===================
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2006-03-09 17:24:50 +01:00
|
|
|
git-request-pull - Generates a summary of pending changes
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 04:38:26 +02:00
|
|
|
[verse]
|
2010-07-23 18:31:27 +02:00
|
|
|
'git request-pull' [-p] <start> <url> [<end>]
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2014-03-12 19:04:11 +01:00
|
|
|
Generate a request asking your upstream project to pull changes into
|
2015-09-14 16:10:53 +02:00
|
|
|
their tree. The request, printed to the standard output,
|
|
|
|
begins with the branch description, summarizes
|
2014-03-12 19:04:11 +01:00
|
|
|
the changes and indicates from where they can be pulled.
|
|
|
|
|
|
|
|
The upstream project is expected to have the commit named by
|
|
|
|
`<start>` and the output asks it to integrate the changes you made
|
|
|
|
since that commit, up to the commit named by `<end>`, by visiting
|
|
|
|
the repository named by `<url>`.
|
|
|
|
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2010-07-23 18:31:27 +02:00
|
|
|
-p::
|
2014-03-12 19:04:11 +01:00
|
|
|
Include patch text in the output.
|
2010-07-23 18:31:27 +02:00
|
|
|
|
2005-08-30 04:33:14 +02:00
|
|
|
<start>::
|
2014-03-12 19:04:11 +01:00
|
|
|
Commit to start at. This names a commit that is already in
|
|
|
|
the upstream history.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-08-30 04:33:14 +02:00
|
|
|
<url>::
|
2014-03-12 19:04:11 +01:00
|
|
|
The repository URL to be pulled from.
|
2005-08-23 10:49:47 +02:00
|
|
|
|
2005-08-30 04:33:14 +02:00
|
|
|
<end>::
|
2014-03-12 19:04:11 +01:00
|
|
|
Commit to end at (defaults to HEAD). This names the commit
|
|
|
|
at the tip of the history you are asking to be pulled.
|
|
|
|
+
|
|
|
|
When the repository named by `<url>` has the commit at a tip of a
|
|
|
|
ref that is different from the ref you have locally, you can use the
|
|
|
|
`<local>:<remote>` syntax, to have its local name, a colon `:`, and
|
|
|
|
its remote name.
|
|
|
|
|
|
|
|
|
|
|
|
EXAMPLE
|
|
|
|
-------
|
|
|
|
|
|
|
|
Imagine that you built your work on your `master` branch on top of
|
|
|
|
the `v1.0` release, and want it to be integrated to the project.
|
|
|
|
First you push that change to your public repository for others to
|
|
|
|
see:
|
|
|
|
|
|
|
|
git push https://git.ko.xz/project master
|
|
|
|
|
|
|
|
Then, you run this command:
|
|
|
|
|
|
|
|
git request-pull v1.0 https://git.ko.xz/project master
|
|
|
|
|
|
|
|
which will produce a request to the upstream, summarizing the
|
|
|
|
changes between the `v1.0` release and your `master`, to pull it
|
|
|
|
from your public repository.
|
|
|
|
|
|
|
|
If you pushed your change to a branch whose name is different from
|
|
|
|
the one you have locally, e.g.
|
|
|
|
|
|
|
|
git push https://git.ko.xz/project master:for-linus
|
|
|
|
|
|
|
|
then you can ask that to be pulled with
|
|
|
|
|
|
|
|
git request-pull v1.0 https://git.ko.xz/project master:for-linus
|
|
|
|
|
2005-08-23 10:49:47 +02:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 09:07:32 +02:00
|
|
|
Part of the linkgit:git[1] suite
|