git / rubymine(ヒョウ) - 引っ張ることはできませんが、私はコミットして押すことができます
-
04-10-2019 - |
質問
私は奇妙な問題を抱えていました
私のシステムはスノーヒョウ(10.6.4)です - 私は私のルベミンから引っ張ることができませんが、私はコミットしてプッシュすることができます。一番いいのは、端末を実行して「git pull」と入力すると、正常に動作することです。
Ruby Mineコンソールにはいくつかのエラーがあります:
/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.
この愚かな問題を解決する方法がわかりません。何か案は?手伝ってくれてありがとう
解決
ありがとう!環境変数の問題でした。これが解決策です:
他のヒント
どうやら環境変数がルベミンコンソールに欠落しているため、それらの実行可能ファイル(SED、UNAMEなど)を見つけることができません。
所属していません StackOverflow