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:

  • Which commit has this blob?
  • Git - Creating a .gitignore file
  • git hunk edit mode - how to remove a '-' line?
  • Git Cherry-Pick and Conflicts
  • How to “pull request” a specific commit
  • Show untracked files in JetBrains intellij for 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.

  • Gitlab: Unable to clone by http (cloning by ssh works well)
  • How to see an html page on github as a normal rendered html page to see preview in browser, without downloading?
  • github, update forked project
  • Change Git stash message
  • Find out all GIT changes in a certain line in a file
  • Is git's merge conflict resolution more efficient than other SCMs and merge tools?
  • Git Baby is a git and github fan, let's start git clone.