我关注了 Tim Pope 关于使用 git 轻松 ctags的博客文章,但它似乎不起作用。
的输出git ctags
fatal: cannot exec '.git/hooks/ctags': Permission denied
正如他所解释的那样,我已按照说明进行操作。我~/.git_template/hooks
的文件夹有以下文件。
ctags post-checkout post-commit post-merge post-rewrite
我尝试重新初始化存储库并提交,但似乎都没有生成 ctags。