You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When one of the repos has a submodule from public GitHub and I have the setting to recursively clone, it fails based on auth. The main repository gets cloned but the submodule itself fails as it tried to auth.
Simply having conditionals to remove Auth from options based on URL would not work as it’s part of the original clone and would recursively go a level deeper.
The text was updated successfully, but these errors were encountered:
Hello!
I am using go-git for cloning from a GitHub enterprise instance, I.e, not public GitHub, which is the default behavior for my code base.
These clones are authenticated with ssh keys as such:
When one of the repos has a submodule from public GitHub and I have the setting to recursively clone, it fails based on auth. The main repository gets cloned but the submodule itself fails as it tried to auth.
Simply having conditionals to remove
Auth
from options based on URL would not work as it’s part of the original clone and would recursively go a level deeper.The text was updated successfully, but these errors were encountered: