Git 1.7.11 Debian fatal: Unable to find remote helper for 'https'

后端 未结 1 884
情歌与酒
情歌与酒 2021-02-10 05:36

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 pro

1条回答
  •  粉色の甜心
    2021-02-10 06:32

    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.

    0 讨论(0)
提交回复
热议问题