11、Linux git clone 报错:git-upload-pack: command not found

Linux git clone 报错:git-upload-pack: command not found

 

创建软连接,设置此命令:

ln -s /usr/local/git/bin/git-upload-pack /usr/bin/git-upload-pack

 

以此类推:git-receive-pack

ln -s /usr/local/git/bin/git-receive-pack /usr/bin/git-receive-pack

 

posted @ 2020-08-01 13:20  WH·xiao  阅读(499)  评论(0编辑  收藏  举报