<div dir="ltr"><div>For future handiness,</div><div><br></div><div>If you've already run 'mr register' 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'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 's/ansibleplaybookbundle\/apb/ansibleplaybookbundle\/apb-tools/' 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 "Update the apb image to use apb-tools"<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 "Update the apb image to use apb-tools"</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>