Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support submodules #18

Open
drmikecrowe opened this issue Jul 30, 2020 · 5 comments
Open

Support submodules #18

drmikecrowe opened this issue Jul 30, 2020 · 5 comments

Comments

@drmikecrowe
Copy link

Attempting to add a submodule via codecommit:// scheme results in:

❯ git clone codecommit://documentation docs
Cloning into 'docs'...
fatal: unable to access 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/documentation/': Protocol "https" not supported or disabled in libcurl
@gtux
Copy link

gtux commented Sep 16, 2020

Any update on this?

@J11522
Copy link

J11522 commented Oct 8, 2020

You can achieve this by allowing the helper for submodules.
git config --global --add protocol.codecommit.allow always

@somiron
Copy link

somiron commented Jul 23, 2021

What is the fix if the git repo and submodules are hosted in a different AWS account. Pls see below the messages I get in this case.

Cloning into '(path)'...
fatal: repository 'https://git-codecommit.us-east-1.amazonaws.com/v1/repos/my-repo/' not found
fatal: clone of 'codecommit://my-repo' into submodule path 'somePath' failed
Failed to clone 'myGitPath' a second time, aborting

PS: The repo was cloned using git-remote-codecommit

@michal-turzynski
Copy link

Same problem here.

This didn't help me unfortunately: git config --global --add protocol.codecommit.allow always

@henalbrod
Copy link

henalbrod commented Nov 29, 2021

You can achieve this by allowing the helper for submodules. git config --global --add protocol.codecommit.allow always

This worked fine for me, but I made a pervious step by replacing the "https://git-host-name/repo-name" by "codecommit://repo-name" in the .gitmodules file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants