Issue with Cloning a Git Repository
I'm trying to clone a remote repository using the 'git clone' command.
But, I am getting this error (and warning):
warning: templates not found /usr/share/git-core/templates
fatal: Unable to find remote helper for 'https'
It seems as though I may have installed git ( opkg install git ) before some of it's dependencies were installed like curl. (see http://stackoverflow.com/questions/4569089/cant-update-rvm-fatal-unable-to-find-remote-helper-for-http)
I tried removing both packages, and installing curl before git, but I am getting the same error.
Next, I will try to download and build git from source. I will update my progress here.
In the meantime, any help or support is appreciated. Thanks!
I had this issue as well. You need to 'opkg install git-http' to provide the http/https support package for git.
Confirming that this solved my problem. Thank you @fader !!
Side note: You can list all available packages using the 'opkg list' command and list all the packages you have installed using 'opkg list-installed'.
Added a short tutorial to the wiki on Git for future reference: https://wiki.onion.io/Tutorials/Using-Git