[Development] Managing branches of Qt's git modules
Thiago Macieira
thiago.macieira at intel.com
Fri Sep 30 21:57:58 CEST 2016
On sexta-feira, 30 de setembro de 2016 08:26:13 PDT Thiago Macieira wrote:
> For example, to switch to dev, I might do:
>
> git submodule foreach "git rev-parse origin/dev && \
> git rebase --onto origin/dev origin/5.8 || true"
By the way, on my Windows and Mac machines, since they fetch from my Linux
one, it's all much simpler once the above is done:
git fetch --recurse-submodules=yes
git rebase
git submodule foreach "git reset --hard @{u}"
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list