开发者

Filemerge with git - It's all gone horribly wrong

开发者 https://www.devze.com 2023-02-19 04:36 出处:网络
Following this tutorial to the letter, whenever I now run a diff, I get the following: ~~$ git diff fatal: cannot exec \'/Users/john/git-diff-cmd.sh\': Permission denied

Following this tutorial to the letter, whenever I now run a diff, I get the following:

~~$ git diff
fatal: cannot exec '/Users/john/git-diff-cmd.sh': Permission denied
external diff died, stopping at footer.php.

This is obviously undesirable!! How can I fix it, and how can I get File开发者_如何学Cmerge and GIT to play nice?


your script has to be executable:

chmod u+x '/Users/john/git-diff-cmd.sh'


It looks like you don't have execution privileges for your script file. Go to the terminal and type

chmod a+x /Users/john/git-diff-cmd.sh

and then try running git again.

0

精彩评论

暂无评论...
验证码 换一张
取 消