git 提交时missing Change-Id ,install the hook

错误如下:
git 提交时missing Change-Id ,install the hook
解决方法:
第一步:gitdir=$(git rev-parse --git-dir); scp -p -P 29418 [email protected]:hooks/commit-msg ${gitdir}/hooks/ 代码块高亮的红色部分与自己的保持一致
第二部:git commit --amend
第三部:git push origin HEAD:refs/for/antgui
:截图的错误中有解决的操作提示,第一步的代码直接copy错误提示中的Hint的下面一行即可,第二部就是提示中也有,第三部就是正常的提交到远程仓库的操作

相关文章:

  • 2022-12-23
  • 2021-12-11
  • 2021-09-07
  • 2021-05-15
  • 2021-10-24
  • 2021-10-15
  • 2022-12-23
猜你喜欢
  • 2021-06-07
  • 2021-07-07
  • 2021-07-18
  • 2021-11-04
  • 2021-07-13
  • 2022-12-23
  • 2021-06-13
相关资源
相似解决方案