問題
PhpStorm 提示」Can't start Git”
![PhpStorm中的Git設定](http://image.codes51.com/Article/image/20151104/201511048325601830545/2015104/20151042305000054223550000m.%20<img%20src=)
點擊」Fix it”
![PhpStorm中的Git設定](http://image.codes51.com/Article/image/20151104/20151104230142_3470.ptorm%20<p>%E8%A8%AD%E5%AE%9A)
![PhpStorm中的<strong></strong></p>Git<p>的路徑是對的,點擊」Test”<strong></strong><img src=](http://image.codes51.com/Article/image/20151104/20151104230142_3470.png)
![PhpStorm中的<strong></strong>在Terminal中直接輸入</p><p>Git<code> -v<strong>是可以的,但輸入</strong>/usr/bin/v</code> -v<code>是可以的,但輸入<strong>/usr/binv</strong>Git</code>G提示</p><pre class=](http://image.codes51.com/Article/image/20151104/20151104230143_3626.png)
<code>Agreeing to the Xcode/iOS license <strong>require</strong>s admin privileges, please re-run as root via sudo.
</code>
加上sudo
就可以了。但是在 PhpStorm 中怎麼做呢?
解決方法
<code>sudo xcodebuild -license
</code>
終端提示:敲回車鍵(enter)開啟授權協議
終端機提示:按下「space」 鍵閱讀授權協議,按「q」 不閱讀
終端提示會出:輸入agree ,然後enter
再次點擊PhpStorm 中的”Test”,OK了。
').addClass('pre-numbering').hide();
$(this).addClass('has-numbering').parent().append($numbering);
for (i = 1; i <= lines; i++) {
$numbering.append($('
').text(i));
};
$numbering.fadeIn(1700);
});
});
以上就介紹了PhpStorm中的Git設置,包括了require,Git方面的內容,希望對PHP教程有興趣的朋友有所幫助。
">