git / rubymine(豹) - 不能拉动,但我可以提交并推动
-
04-10-2019 - |
题
香港专业教育学院有奇怪的问题
我的系统是Snow Leopard(10.6.4) - 我无法从红宝石中拉出,但我可以做出提交和推动。最好的事情是,当我运行终端并键入“ git Pull”时,它可以正常工作。
在红宝石矿场中,有一些错误:
/usr/local/git/libexec/git-core/git-sh-setup: line 71: basename: command not found
/usr/local/git/libexec/git-core/git-sh-setup: line 71: sed: command not found
/usr/local/git/libexec/git-core/git-sh-setup: line 202: uname: command not found
From git.xxx.xxx
* branch yly -> FETCH_HEAD
/usr/local/git/libexec/git-core/git-pull: line 251: sed: command not found
/usr/local/git/libexec/git-core/git-pull: line 251: tr: command not found
There are no candidates for merging among the refs that you just fetched.
Generally this means that you provided a wildcard refspec which had no
matches on the remote end.
我不知道如何解决这个愚蠢的问题。有任何想法吗?感谢帮助
解决方案
谢啦!环境变量是问题。这是解决方案:
其他提示
Rubymine控制台中显然缺少环境变量,因此找不到那些可执行文件(SED,UNAME等)。
不隶属于 StackOverflow