git/list[1] front-page[2] threads[3] people[4] search[5] about
 

bug

From
LKLuke Knoble <lupeknoble@gmail.com>
Date
Jun 26, 2020, 21:11 UTC
Message-ID
<CA+m5axz6QG5+AH5dB-J1dcD26z8z8uOUYUOgypu9kqoX49z0xA@mail.gmail.com>
Howdy,
I've found an issue in which I'm using this command:
git clone --recurse-submodules ssh://git@someurl:9999/someproject/repoX.git

git clones the repo successfully if I dont pass “git clone” any flags, but gives me this error when I use “--recurse-submodules” and git attempts to clone a single submodule:

git@someurl: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: clone of 'ssh://git@someurl:9999/someproject/submodule_repo.git' into submodule path 'C:/someproject/submodule_repo' failed

The obvious answer is that my permissions are bad, but I can clone the submodule repo directly without issue.. This command succeeds:

git clone --recurse-submodules ssh://git@someurl:9999/someproject/submodule_repo.git

what gives git?
Next: Philippe Blain
Message 1 of 2 in “bug”
  1. Luke KnobleJun 26, 2020
  2. Philippe BlainJun 29, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.