1GIT-REQUEST-PULL(1) Git Manual GIT-REQUEST-PULL(1)
2
3
4
6 git-request-pull - Generates a summary of pending changes
7
9 git request-pull [-p] <start> <url> [<end>]
10
11
13 Generate a request asking your upstream project to pull changes into
14 their tree. The request, printed to the standard output, begins with
15 the branch description, summarizes the changes and indicates from where
16 they can be pulled.
17
18 The upstream project is expected to have the commit named by <start>
19 and the output asks it to integrate the changes you made since that
20 commit, up to the commit named by <end>, by visiting the repository
21 named by <url>.
22
24 -p
25 Include patch text in the output.
26
27 <start>
28 Commit to start at. This names a commit that is already in the
29 upstream history.
30
31 <url>
32 The repository URL to be pulled from.
33
34 <end>
35 Commit to end at (defaults to HEAD). This names the commit at the
36 tip of the history you are asking to be pulled.
37
38 When the repository named by <url> has the commit at a tip of a ref
39 that is different from the ref you have locally, you can use the
40 <local>:<remote> syntax, to have its local name, a colon :, and its
41 remote name.
42
44 Imagine that you built your work on your master branch on top of the
45 v1.0 release, and want it to be integrated to the project. First you
46 push that change to your public repository for others to see:
47
48 git push https://git.ko.xz/project master
49
50 Then, you run this command:
51
52 git request-pull v1.0 https://git.ko.xz/project master
53
54 which will produce a request to the upstream, summarizing the changes
55 between the v1.0 release and your master, to pull it from your public
56 repository.
57
58 If you pushed your change to a branch whose name is different from the
59 one you have locally, e.g.
60
61 git push https://git.ko.xz/project master:for-linus
62
63 then you can ask that to be pulled with
64
65 git request-pull v1.0 https://git.ko.xz/project master:for-linus
66
68 Part of the git(1) suite
69
70
71
72Git 2.20.1 12/15/2018 GIT-REQUEST-PULL(1)