Re: Moving GIT repo to gitlab.com

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 03, 2016 at 05:29:04PM +0000, Daniel P. Berrange wrote:
> You can update your local GIT checkout to point to the new location
> as follows:
> 
>  - Remove old location
> 
>    git remote rm origin
> 
>  - Add new location, either for commit access:
> 
>    git remote add origin git@xxxxxxxxxx:libosinfo/libosinfo.git
> 
>    or readonly access
> 
>    git remote add origin https://gitlab.com/libosinfo/libosinfo.git
> 

'git remote set-url origin $new_location'

should do the trick in a single step.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux