Wrong error message when cloning from http gitlab (and everything still works anyway)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm currently setting up my new work PC (now Windows 11) and got a weird error message when cloning our repository:

 - run git clone on an http GitLab instance, in my case I ran `git clone http://gitlab.company-local-domain.de/group/project LocalRepo-Name`
   Note:
    - http, not https
    - GitLab
 - Get the following error message:
   fatal: Unencrypted HTTP is not supported for GitHub. Ensure the repository remote URL is using HTTPS.
 - Get prompted for and enter credentials
 - Get warning about redirecting to .git URL
 - Cloning commences and finishes successfully

Our GitLab is only reachable from the internal network, so adding https hasn't been a priority for our admins.
There is no GitHub involved at all, not sure where that comes from.
Except for the error message, everything works fine.
The message only appeared the first time I cloned something from this domain. From the second time, everything appeared as expected again.
git version shows 2.46.0.windows.1

Best regards
Marlon Regenhardt




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux