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