clone issue when using https protocol
I'm using git-repo to pull and push to multiple repositories. The problem is, if I try to use http protocol (e.g. <remote name="aosp" fetch="https://gitlab.com/android_source/platform_external_chromium-trace" /> ), I get this error:
fatal: https://gitlab.com/android_source/platform_external_chromium-trace/info/refs not valid: is this a git repository?
But if I use ssh protocol ( <remote name="aosp" fetch="ssh://git@gitlab.com/android_source/platform_external_chromium-trace" /> ) there is no error and everything will work as expected.