Last week I wrote:
> For submodules, it can be customized via
> 
>   git config --global url.git://git.savannah.gnu.org/.insteadof 
> git://git.git.savannah.gnu.org/
>   git config --global url.https://git.savannah.gnu.org/git/.insteadof 
> https://https.git.savannah.gnu.org/git/
>   git config --global url.git://git.savannah.gnu.org/gnulib.git.insteadof 
> https://github.com/coreutils/gnulib.git
>   git config --global 
> url.https://git.savannah.gnu.org/git/gnulib.git.insteadof 
> https://github.com/coreutils/gnulib.git

I got the syntax wrong. The correct customization commands are:

  git config set --global --append 
url.git://git.git.savannah.gnu.org/.insteadOf git://git.savannah.gnu.org/
  git config set --global --append 
url.https://https.git.savannah.gnu.org/git/.insteadOf 
https://git.savannah.gnu.org/git/
  git config set --global --append 
url.https://github.com/coreutils/gnulib.git.insteadOf 
git://git.savannah.gnu.org/gnulib.git
  git config set --global --append 
url.https://github.com/coreutils/gnulib.git.insteadOf 
https://git.savannah.gnu.org/git/gnulib.git

With these commands, "git clone", submodules, and subcheckouts do the
redirections automatically. Therefore the gitsub.sh patch was not needed.
I'm reverting it.


2025-09-12  Bruno Haible  <[email protected]>

        gitsub.sh: Revert last change.
        * top/gitsub.sh: Revert 2025-09-06 change.





Reply via email to