gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’

Posted lcyw

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’相关的知识,希望对你有一定的参考价值。

cents 7.6系统. yum源安装git最新版本是1.8.3

报错:

git: \'interpret-trailers\' is not a git command. See \'git --help\'.
cannot insert change-id line in .git/COMMIT_EDITMSG

解决:

git add xxx
git commit -m "xxx"

然后修改

vim .git/hooks/commit-msg

以上是关于gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’的主要内容,如果未能解决你的问题,请参考以下文章

gitgit: ‘interpret-trailers’ is not a git command. See ‘git --help’

GitGit命令总结

markdown gitgit

gitgit基础操作

gitgit修改提交人的名称

gitgit操作