Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
遵循本教程,无论何时运行差异,我都会得到以下信息:
~~$ git diff fatal: cannot exec '/Users/john/git-diff-cmd.sh': Permission denied external diff died, stopping at footer.php.
这显然是不可取的!!我该如何修复它,如何让 Filemerge 和 GIT 正常运行?
您的脚本必须是可执行的:
chmod u+x '/Users/john/git-diff-cmd.sh'
您似乎没有脚本文件的执行权限。转到终端并输入
chmod a+x /Users/john/git-diff-cmd.sh
然后尝试再次运行 git。