无法在.git/COMMIT\u EDITMSG中插入更改id行
当我尝试执行git提交时,出现以下错误无法在.git/COMMIT\u EDITMSG中插入更改id行,git,Git,当我尝试执行git提交时,出现以下错误 panther2@ubuntu:~/panther1/.repo/manifests$ git commit -m "Adding manifest for release" git: 'interpret-trailers' is not a git command. See 'git --help'. cannot insert change-id line in .git/COMMIT_EDITMSG 这是第一次,我得到了错误。
panther2@ubuntu:~/panther1/.repo/manifests$ git commit -m "Adding manifest for release"
git: 'interpret-trailers' is not a git command. See 'git --help'.
cannot insert change-id line in .git/COMMIT_EDITMSG
这是第一次,我得到了错误。有以前的提交
我的git版本是1.9.1
请先尝试,然后查看错误消息是否仍然存在
还要检查提交消息的内容(因为您以前的提交已成功完成)
确实会触发该命令。您的git版本可能太旧,无法支持此命令。为什么在以前的提交中没有发生此错误?我的git版本是1.9.1在hook
commit msg
中调用该命令。commit-msg
是否已更新?我们不使用commit-msg,谢谢!这个解决办法很有效。