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

submodule - ssh url must not be converted to HTTPS #398

Open
sanjivpurohit opened this issue Dec 3, 2020 · 1 comment
Open

submodule - ssh url must not be converted to HTTPS #398

sanjivpurohit opened this issue Dec 3, 2020 · 1 comment

Comments

@sanjivpurohit
Copy link

Due to security reasons, key is already present on the self-hosted server.
When submodules are set to true without ssh-key, ssh url are converted to https, which would prompt the user on the self-hosted server to open a browser and authenticate.

The user has decided to add submodules as ssh since they want to use the keys.
If it required to convert, can we please add a third value to submodules as "ssh-recursive"
OR
add an empty ssh-key:'' to use the local git config ssh key.

@ericsciple
Copy link
Contributor

Unfortunately the current behavior solved a common friction point for many users. You may need to add a run command to script the submodule checkout.

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

2 participants