Re: GIT origin

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

 



Dne st 20. října 2021 deloptes napsal(a):
> Michele Calgaro via tde-devels wrote:
> > Hi Emanoil,
> > git remote rm origin
> > git remote add origin <new url>
> >
> > Definitely change to TGW url :-)
>
> OK, but why in the first place I get it the "wrong way"?
> I think I pulled from scratch some time ago after some changes were
> introduced.
> Asking because I want to be sure after I change, it would not come back.
>
> BTW it seems I have to write a script to do this for me, because it is
> 175 packages.
>
> thanks Michele

I believe that there is no need to remove and add again, but there is 
enough to make a change of URL. For example:

git config --get remote.origin.url | \
sed "s|.*/|https://mirror.git.trinitydesktop.org/gitea/TDE/|" | \
xargs git config --replace-all remote.origin.url

At the same time, you can simply use this sequence of commands for 
call "git submodule foreach ..." to do change on the whole TDE tree.

Cheers
-- 
Slávek

Attachment: signature.asc
Description: This is a digitally signed message part.

____________________________________________________
tde-devels mailing list -- devels@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devels-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/devels@xxxxxxxxxxxxxxxxxx

[Index of Archives]     [Trinity Users]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [KDE]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux