Changing url of Git submodule fails

I have one submodule inside a project which I would also like to push automatically to staging. Now I made apropriate changes to the hook and also changed the authentication method from password to certificate of the submodule.

Unfortunatelly git refuses to make the change of the authentication method, despite the already changed url of the origin:

  • Setting git hist to pretty print log via an alias on Windows
  • Angular, GitHub API, Return repositories and tags
  • Error CordovaModuleLoadError - multi device hybrid app in visual studio
  • git library for Go
  • Getting git to never push a single commit?
  • Modify a previously committed change in git
  • remote: /home/git/staging.git
    remote: Cloning into 'MEW'...
    remote: fatal: could not read Password for '': No such device or address
    remote: Clone of '' into submodule path 'MEW' failed
    node1:/home/www/demo/MEW$ git remote -v
    origin (fetch)

    cat .git/config

    [submodule "MEW"]
         url =

    Is this a bug or do I need to change something else to make the change happen? Thank you in advance for any help.

  • GitBook offline editor: “Redirect from HTTPS to HTTP not allowed”
  • Which tools can I use for off-line code review (commenting and discussion)?
  • Git: How to push from “no branch” to a new remote branch?
  • Detached head - move to more recent commit
  • Merging config files in git
  • git svn clone not checking out all directories
  • Git Baby is a git and github fan, let's start git clone.