按照this tutorial的要求,每当我现在运行一个diff时,我都会得到以下结果:
~~$ git diff
fatal: cannot exec '/Users/john/git-diff-cmd.sh': Permission denied
external diff died, stopping at footer.php.这显然是不可取的!我如何修复它,以及如何让Filemerge和GIT更好地发挥作用?
发布于 2011-03-21 21:16:14
你的脚本必须是可执行的:
chmod u+x '/Users/john/git-diff-cmd.sh'发布于 2011-03-21 21:14:53
看起来您没有脚本文件的执行权限。转到终端并输入
chmod a+x /Users/john/git-diff-cmd.sh然后再次尝试运行git。
https://stackoverflow.com/questions/5378027
复制相似问题