I do use git myself and like it, but when you use it on your own system, you don't always experience all the issues you could (especially since you probably performed all of the necessary pre-installation steps).
On my work desktop I was recently trying to clone a repository using https and received the following error:
Cloning into gitflow...
fatal: Unable to find remote helper for 'https'
I was momentarily puzzled by this, knowing I had seen it before, but couldn't remembered what the issue was. I remembered that git uses curl for cloning via https so I quickly checked and found it already installed. So, turn to the Google's. That quick search enlightened me to the fact that the curl-devel package was not installed.
Explanation: While it says that git uses curl for its https cloning, its actually the development libraries that it makes use of.
So, I needed to do the following since I didn't have them on their when I built git:
- Install the curl-devel package
- Find the source code I downloaded and built git from and do the following:
- ./configure
- make
- sudo make install
No comments:
Post a Comment