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,`'

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to