[Development] Switching remote url for qt5 git clone
oswald.buddenhagen at theqtcompany.com
Fri Mar 27 11:34:52 CET 2015
On Thu, Mar 26, 2015 at 04:37:15PM -0700, Thiago Macieira wrote:
> On Thursday 26 March 2015 15:57:23 Adam Light wrote:
> > I'd like to move my checkout to git://code.io.qt.
> > I can use git remote set-url for the base and then for each submodule, but
> > it seems like there must be a better (that is, automatic) way to do this.
> > Any suggestions?
> git submodule foreach '
> git remote set-url origin `git config --get remote.origin.url | \
> sed s,gitorious.org,code.qt.io,`'
./init-repository -f --branch --no-update
that will also fix whatever else setup problems you have.
More information about the Development