<div dir="auto"><div>The git pr alias in the devguide assumes that you have origin and upstream remote setup,</div><div dir="auto">where origin is your own CPython fork, and upstream is python/CPython repo<br></div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_extra" dir="auto"><div class="gmail_quote">On May 25, 2017 6:27 AM, "Antoine Pitrou" <<a href="mailto:antoine@python.org">antoine@python.org</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text"><br>
Le 25/05/2017 à 15:06, Nick Coghlan a écrit :<br>
> On 25 May 2017 at 18:01, Antoine Pitrou <<a href="mailto:antoine@python.org">antoine@python.org</a>> wrote:<br>
>> Did someone manage to make this work? Can they post the entire<br>
>> instructions they used? (including local branch setup)<br>
><br>
> The minimal set of instructions some of us worked out are at<br>
> <a href="https://docs.python.org/devguide/gitbootcamp.html#editing-a-pull-request-prior-to-merging" rel="noreferrer" target="_blank">https://docs.python.org/<wbr>devguide/gitbootcamp.html#<wbr>editing-a-pull-request-prior-<wbr>to-merging</a><br>
> (the initial draft was longer, but patch review found a few<br>
> opportunities for simplification)<br>
<br>
</div>Thank you. Is it possible for the "git pr" alias to also edit the<br>
branch tracking information? Currently I get:<br>
<br>
(master)$ git pr 1785<br>
Depuis <a href="https://github.com/python/cpython" rel="noreferrer" target="_blank">https://github.com/python/<wbr>cpython</a><br>
* [nouvelle référence] refs/pull/1785/head -> pr_1785<br>
Basculement sur la branche 'pr_1785'<br>
<br>
(pr_1785)$ LANG=C git pull<br>
There is no tracking information for the current branch.<br>
Please specify which branch you want to merge with.<br>
See git-pull(1) for details.<br>
<br>
git pull <remote> <branch><br>
<br>
If you wish to set tracking information for this branch you can do so with:<br>
<br>
git branch --set-upstream-to=<remote>/<<wbr>branch> pr_1785<br>
<br>
<br>
Regards<br>
<font color="#888888"><br>
Antoine.<br>
</font><div class="elided-text">______________________________<wbr>_________________<br>
python-committers mailing list<br>
<a href="mailto:python-committers@python.org">python-committers@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-committers" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-<wbr>committers</a><br>
Code of Conduct: <a href="https://www.python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">https://www.python.org/psf/<wbr>codeofconduct/</a><br>
</div></blockquote></div><br></div></div></div>