Git-利用conda安装git

CentOS7服务器自带的git版本过低,我利用源码直接编译安装git最新版本(2.39)。使用git clone+链接测试git能否正常使用,当链接为ssh时能够正常使用,当链接为https时出现错误,提示git: 'remote-https' is not a git command. See 'git --help'.。网络上有一些解决办法,但是均未成功。

在此,我使用conda安装使用git。

conda install -c anaconda git

安装完毕。

posted @ 2023-01-25 17:12  echo-hmwnag  阅读(2551)  评论(0)    收藏  举报