<div dir="ltr"><div>For future handiness,</div><div><br></div><div>If you&#39;ve already run &#39;mr register&#39; in each of the cloned apb repos (e.g <a href="https://github.com/feedhenry/unifiedpush-apb">https://github.com/feedhenry/unifiedpush-apb</a>), here&#39;s some commands to update the same file in each repo, and create a PR.<br></div><div>In this case, it was updating the apb tools image name.</div><div><br></div><div><br></div><div># Checkout master, update it, then checkout a new branch</div><div>mr run git checkout master<br></div><div>mr run git pull origin master</div><div>mr run git checkout -b update-apb-tools-image<br></div><div><br></div><div># Replace the image name in the Makefile<br></div><div>mr run sed -i &#39;s/ansibleplaybookbundle\/apb/ansibleplaybookbundle\/apb-tools/&#39; Makefile<br clear="all"><div><br></div><div># Add, Commit and push</div><div>mr run git add Makefile<br></div><div>mr run git commit -m &quot;Update the apb image to use apb-tools&quot;<br></div><div>mr run git push origin update-apb-tools-image<br></div><div><br></div><div># Create the pull requests</div><div><div>mr run hub pull-request -b feedhenry:master -m &quot;Update the apb image to use apb-tools&quot;</div><div>.....</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>[1] <a href="https://myrepos.branchable.com/">https://myrepos.branchable.com/</a></div><div>[2[ <a href="https://github.com/github/hub">https://github.com/github/hub</a></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">David Martin<div>Red Hat Mobile</div><div>Twitter: <span style="font-size:12.8px">@irldavem</span></div><div><span style="font-size:12.8px">IRC: @irldavem (feedhenry, mobile-internal)</span></div></div></div></div></div>
</div></div>