Git 1.7.11 Debian fatal: unable to find remote wizard for 'https'

I use bitbucket with git to manage a project. I have no problems in the Windows development environment, but I have problems with debian. The problem is not in the clone, only when clicked. The error I get is:

fatal: cannot find remote assistant for 'https'

I tried to compile it with curl, tried to install several versions of curl, but did not succeed. In this question, git version was 1.7.1, and the answer was to go to 1.7.7, however my git version is 1.7.11

How can i fix this?

Update:

My config.log says NO_CURL = ''

I have no problem using curl myself using https

Update2:

my config also says NO_OPENSSL = ''

Running find -name git -remote- * at the 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
+5
source share
1 answer

If you were strace -f , you would see that he is actually trying to find this helper, but in the system path. To change this root, you can use the -exec path or GIT_EXEC_PATH.

For example, let's say I wget'd git -core from the archive, and dpkg -x in ~ / opt, then I would

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 for debugging,

strace -f $ FOO / usr / bin / git clone https: // uri> trace.out 2> & 1

Hope this helps.

+6
source

All Articles