This is similar to the question about http not supported, but I was not able to apply the solutions suggested there to my situation.
I've done
zypper addrepo https://download.opensuse.org/repositories/devel:tools:scm/SLE_12_SP5/devel:tools:scm.repo zypper refresh and I'm getting
Retrieving repository 'Software configuration management (SLE_12_SP5)' met Download (curl) error for 'https://download.opensuse.org/repositories/devels:/scm/SLE_12_SP5/repodata/8ff6d5e77f953a771c9870113c655dfef8cf31ffba709feec8e0a617fc-primary.xml.gz': Error code: Bad URL Error message: Redirect to protocol "http" not supported or disabled in li Now if I
curl https://download.opensuse.org/repositories/devel:/tools:/scm/SLE_12_SP5/repodata/8ff6d5e77f953a771c9870113c655dfef8cf31ffba709f2506cceec8e0a617fc-primary.xml.gz I see
<p>The document has moved <a href="http://downloadcontent.opensuse.org/repositories/devel:/tools:/scm/SLE_12_SP5/repodata/8ff6d5e77f953a771c9870113c655dfef8cf31ffba709f2506cceec8e0a617fc-primary.xml.gz">here</a>.</p> But if I try to apply the solution suggested in the related question with a
vi /etc/zypp/repos.d/devel_tools_scm.repo and I change https in http, then it does not work because the http URL does (no longer?) exist: http://download.opensuse.org/repositories/devel:/languages:/php/openSUSE_Leap_42.3/devel:languages:php.repo
What am I doing wrong or what am I supposed to do to install git so?
zypper install gitnot work?