1

For all other commands there is the -4 flag that works (Configure git to use IPv4 instead of IPv6 by default), but for submodule update, this option does not seem to exist... How to force ipv4 for git submodule update ?

hl037_
  • 3,520
  • 1
  • 27
  • 58

1 Answers1

1

You could use foreach to create a custom git pull:

foreach [--recursive]

Evaluates an arbitrary shell command in each checked out submodule.

git submodule foreach git pull -4
0stone0
  • 34,288
  • 4
  • 39
  • 64