[Development] What is fastest way to checkout stable branch for every submodule for qt5 repository?

Sergio Ahumada san at sansano.inf.utfsm.cl
Fri Dec 21 09:54:53 CET 2012


On 12/21/2012 09:50 AM, liang jian wrote:
>      I have an old clone of qt5 which have only master branch, to
> update this clone I use the following command:
>
>      git pull
>      git branch stable origin/stable
>      git submodule foreach --recursive 'git checkout stable'
>

git submodule foreach 'git checkout stable ||:'


-- 
Sergio Ahumada
san at sansano.inf.utfsm.cl



More information about the Development mailing list