Migrating git repos to OpenDev

Jeremy Stanley fungi at yuggoth.org
Tue Apr 23 13:19:30 UTC 2019


On 2019-04-23 12:37:11 +0100 (+0100), Adam Spiers wrote:
> Jeremy Stanley <fungi at yuggoth.org> wrote:
[...]
> > Simply switching the git:// to https:// (or http://) should work,
> > courtesy of the redirect sites we've built for git.openstack.org and
> > friends.
> 
> One quick and easy way to achieve that is:
> 
> git config --global url.https://git.openstack.org/.insteadof git://git.openstack.org/

Great idea. I always forget about git's "insteadof" mapping ability.
It's quite versatile. Thanks for pointing out that option!
-- 
Jeremy Stanley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190423/1bcfa51f/attachment-0001.sig>


More information about the openstack-discuss mailing list