I'm using bitbucket along with git to manage a project. I've experience no problems under windows development environment however i'm having issues in debian squeeze. The problem is not present at clone, only on push. The error i'm getting is:
fatal: Unable to find remote helper for 'https'
I've tried compile it with curl, tried installing several version of curl, but no success. In this question the git version was 1.7.1 and the answer was to move to 1.7.7, however my version of git is 1.7.11
How can i fix this?
Update:
My config.log says NO_CURL=''
I have no problem using curl by itself with https
Update2:
my config also says NO_OPENSSL = ''
Doing a find -name git-remote-* on root shows me the following:
./usr/share/man/man1/git-remote-helpers.1.gz
./usr/local/libexec/git-core/git-remote-fd
./usr/local/libexec/git-core/git-remote-ext
./usr/local/libexec/git-core/git-remote-https
./usr/local/libexec/git-core/git-remote-testgit
./usr/local/libexec/git-core/git-remote-ftps
./usr/local/libexec/git-core/git-remote-ftp
./usr/local/libexec/git-core/git-remote-http
./usr/lib/git-core/git-remote-https
./usr/lib/git-core/git-remote-testgit
./usr/lib/git-core/git-remote-ftps
./usr/lib/git-core/git-remote-ftp
./usr/lib/git-core/git-remote-http
./home/osednaca/git-1.7.11/git-remote-ftps
./home/osednaca/git-1.7.11/git-remote-ext
./home/osednaca/git-1.7.11/git-remote-https
./home/osednaca/git-1.7.11/git-remote-testgit.py
./home/osednaca/git-1.7.11/git-remote-ftp
./home/osednaca/git-1.7.11/git-remote-fd
./home/osednaca/git-1.7.11/Documentation/git-remote-helpers.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-fd.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-testgit.txt
./home/osednaca/git-1.7.11/Documentation/git-remote-ext.txt
./home/osednaca/git-1.7.11/git-remote-testgit
./home/osednaca/git-1.7.11/git-remote-http
./home/osednaca/git-1.7.11/contrib/mw-to-git/git-remote-mediawiki
./home/osednaca/git-1.7.11/contrib/mw-to-git/git-remote-mediawiki.txt
If you were to strace -f this you would see it actually is trying to find that helper, but in system path. To change that root you can use --exec-path or GIT_EXEC_PATH.
For example say I wget'd git-core from the archive, and dpkg -x into ~/opt, I would then
export GIT_EXEC_PATH=/home/ppetraki/opt/usr/lib/git-core
where,
find ~/ -name git-remote-https /home/ppetraki/opt/usr/lib/git-core/git-remote-https
Use this to debug,
strace -f $FOO/usr/bin/git clone https://uri > trace.out 2>&1
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With