e107inc / e107-test

For developmental use with e107 v2.
2 stars 2 forks source link

git submodule update fail in Windows. #2

Closed CaMer0n closed 6 years ago

CaMer0n commented 6 years ago

Attempted git submodule update.. with the following returned:

$ git submodule update --init --recursive --remote
Submodule 'e107' (git@github.com:e107inc/e107.git) registered for path '../e107'
Submodule 'lib/cpaneluapi' (git@github.com:N1ghteyes/cpanel-UAPI-php-class.git)                                                  registered for path '../lib/cpaneluapi'
Cloning into 'e107'...
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to t                                                 he list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Deletion of directory 'e107' failed. Should I try again? (y/n) fatal: clone of '                                                 git@github.com:e107inc/e107.git' into submodule path 'e107' failed

Modifying .git/config with https URLS...

[submodule "e107"]
    url = https://github.com/e107inc/e107.git
[submodule "lib/cpaneluapi"]
    url = https://github.com/N1ghteyes/cpanel-UAPI-php-class.git

...and using git.exe submodule update --init --force -- "e107" got it to work.