致命:无法找到 'https' BitBucket Ubuntu 16.04 LTS 的远程助手

fatal: Unable to find remote helper for 'https' BitBucket Ubuntu 16.04 LTS

您好,我正在使用 bitbucket 和 git 来管理一个项目。我尝试按照他们的迷你教程进行操作:

 mkdir /path/to/your/projectcd /path/to/your/project
 git init
 git remote add origin https://jhaik@bitbucket.org/wod123/wod2-test.git
echo "wod" >> contributors.txt
git add contributors.txt
git commit -m "Initial commit with contributors"
git push -u origin master

但我得到 fatal: Unable to find remote helper for 'https'

我尝试重新安装 git 但找不到解决方案。

请问我该如何解决这个问题?

我使用 Ubuntu 16.04 LTS,我的 Git 版本是 2.9.2。

哦,最后,当我使用 apt-get 安装 git 时,它似乎没有用 curl 和 expat 编译!手动安装和编译它 (./configure --with-curl --with-expat) 解决了我的问题!