因为 /usr/libexec/git-core/ 路径没在 PATH 环境变量中。
这导致里面的 git-remote-https, git-remote-http 这些得不到执行。所以 git 所表现出来的功能不全。
解决办法是:执行以下命令,将 /usr/libexec/git-core 纳入 PATH,至少在使用 git 之前,设置一下PATH。
$ PATH=$PATH:/usr/libexec/git-core
因为 /usr/libexec/git-core/ 路径没在 PATH 环境变量中。
这导致里面的 git-remote-https, git-remote-http 这些得不到执行。所以 git 所表现出来的功能不全。
解决办法是:执行以下命令,将 /usr/libexec/git-core 纳入 PATH,至少在使用 git 之前,设置一下PATH。
$ PATH=$PATH:/usr/libexec/git-core