mirror of
https://github.com/git/git
synced 2024-08-27 19:49:21 +00:00
user-manual: Use request-pull to generate "please pull" text
Less work and more error checking (e.g. does a merge base exist?). Add an explicit push before request-pull to satisfy request-pull, which checks to make sure the references are publically available. Signed-off-by: W. Trevor King <wking@tremily.us> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
6c26bf4d4e
commit
ae6ef554c8
|
@ -2305,17 +2305,13 @@ branch and then merge into each of the test and release branches. For
|
||||||
these changes, just apply directly to the "release" branch, and then
|
these changes, just apply directly to the "release" branch, and then
|
||||||
merge that into the "test" branch.
|
merge that into the "test" branch.
|
||||||
|
|
||||||
To create diffstat and shortlog summaries of changes to include in a "please
|
After pushing your work to `mytree`, you can use
|
||||||
pull" request to Linus you can use:
|
linkgit:git-request-pull[1] to prepare a "please pull" request message
|
||||||
|
to send to Linus:
|
||||||
|
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
$ git diff --stat origin..release
|
$ git push mytree
|
||||||
-------------------------------------------------
|
$ git request-pull origin mytree release
|
||||||
|
|
||||||
and
|
|
||||||
|
|
||||||
-------------------------------------------------
|
|
||||||
$ git log -p origin..release | git shortlog
|
|
||||||
-------------------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
Here are some of the scripts that simplify all this even further.
|
Here are some of the scripts that simplify all this even further.
|
||||||
|
|
Loading…
Reference in a new issue