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