Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

The submodules are stored in .gitmodules:

$ cat .gitmodules
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit the url with a text editor, you need to run the following:

$ git submodule sync

This updates .git/config which contains a copy of this submodule list (you could also just edit the relevant [submodule] section of .git/config manually)

There might be a way to do it with only git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodulethe instructions to remove a submodule)

The submodules are stored in .gitmodules:

$ cat .gitmodules
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit the url with a text editor, you need to run the following:

$ git submodule sync

This updates .git/config which contains a copy of this submodule list (you could also just edit the relevant [submodule] section of .git/config manually)

There might be a way to do it with only git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodule)

The submodules are stored in .gitmodules:

$ cat .gitmodules
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit the url with a text editor, you need to run the following:

$ git submodule sync

This updates .git/config which contains a copy of this submodule list (you could also just edit the relevant [submodule] section of .git/config manually)

There might be a way to do it with only git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodule)

git submodule sync
Source Link
dbr
  • 170.5k
  • 69
  • 284
  • 348

The submodules are stored in .git/config:

$ cat .git/config | grep submodule -A1
[submodule "ext/google-maps"]
    url = git://git.naquadah.org/google-maps.git

..and also in .gitmodules:

$ cat .gitmodules | grep submodule -A2
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit boththe url with a text-editor editor, it should be updated.you need to run the following:

$ git submodule sync

This updates .git/config which contains a copy of this submodule list (you could also just edit the relevant [submodule] section of .git/config manually)

There might be a way to do it with only git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodule)

The submodules are stored in .git/config:

$ cat .git/config | grep submodule -A1
[submodule "ext/google-maps"]
    url = git://git.naquadah.org/google-maps.git

..and also in .gitmodules:

$ cat .gitmodules | grep submodule -A2
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit both with a text-editor, it should be updated.

There might be a way to do it with git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodule)

The submodules are stored in .gitmodules:

$ cat .gitmodules
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit the url with a text editor, you need to run the following:

$ git submodule sync

This updates .git/config which contains a copy of this submodule list (you could also just edit the relevant [submodule] section of .git/config manually)

There might be a way to do it with only git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodule)

Source Link
dbr
  • 170.5k
  • 69
  • 284
  • 348

The submodules are stored in .git/config:

$ cat .git/config | grep submodule -A1
[submodule "ext/google-maps"]
    url = git://git.naquadah.org/google-maps.git

..and also in .gitmodules:

$ cat .gitmodules | grep submodule -A2
[submodule "ext/google-maps"]
    path = ext/google-maps
    url = git://git.naquadah.org/google-maps.git

If you edit both with a text-editor, it should be updated.

There might be a way to do it with git commands, although the submodule system seems a bit incomplete (e.g see the instructions to remove a submodule)