How do I correctly move a git submodule?

GitHub: I cannot git clone using https:// as opposed to ssh:// (which works). What am I doing wrong?

  • I am using a recent version of git on OSX Mountain Lion, and I get this kind of error: "error: Could not resolve host: (nil); nodename nor servname provided, or not known while accessing https://github.com/xxxx fatal: HTTP request failed Clone of 'https://github.com/xxxxx.git' into submodule path 'xxxxxPath' failed"

  • Answer:

    I'm having this probl...You must be signed in to read this answer.Connected to GoogleConnected to FacebookBy continuing you indicate that you have read and agree to the .  Loading account...Complete Your ProfileFull NameChecking...EmailChecking...PasswordChecking...By creating an account you indicate that you have read and agree to the .

Rob Nash at Quora Visit the source

Was this solution helpful to you?

Other answers

I worked it out... it was a proxy setting in my gitconfig file ! More detail provided in response to request in comments above: - I use my computer at two locations. - At one location there is a proxy, and so I set up the proxy in my .gitconfig file. - However, this was causing problems when I tried to use git at the other location. I didn't understand the cause for some time. - Once I removed the proxy setting from the .gitconfig file, it worked in the other location. - I think I also had to remove the proxy setting from another configuration file, it may have been .bash_profile.

Anonymous

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.