git 报错:ERROR: missing Change-Id in commit message footer
2016-06-07 14:47
330 查看
koson@koson-Liao:~/work/SourceFile/iwds_kernel/slpt$ git push origin Counting objects: 108, done. Delta compression using up to 8 threads. Compressing objects: 100% (15/15), done. Writing objects: 100% (15/15), 2.62 KiB | 0 bytes/s, done. Total 15 (delta 12), reused 0 (delta 0) remote: Resolving deltas: 100% (12/12) remote: Processing changes: refs: 1, done remote: ERROR: missing Change-Id in commit message footer remote: Suggestion for commit message: remote: slpt: add the JDI panel remote: remote: Change-Id: If81938d417c4ddfdb0781d4576badf5f2f9bcd8b remote: remote: Hint: To automatically insert Change-Id, install the hook: remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418 kesen.liao@gerrit.ingenic.com:hooks/commit-msg ${gitdir}/hooks/ remote: remote: To ssh://kesen.liao@194.169.1.26:29418/sw1/slpt ! [remote rejected] HEAD -> refs/for/refs/heads/master (missing Change-Id in commit message footer) error: failed to push some refs to 'ssh://kesen.liao@194.169.1.26:29418/sw1/slpt'
解决办法:
1.按照提示生成.git/hooks/目录下的commit-msg文件,然后重新git commit --amed。
2.如果生成不成功,就去别的.git/hooks/目录下拷贝一个。
相关文章推荐
- HDU-1398 Square Coins(生成函数)
- Ajax基础
- mysql远程连接 Host * is not allowed to connect to this MySQL server
- (RHCA436)10 GFS2集群文件系统
- Navigator对象
- SQLAlchemy 使用经验
- XML file line #10: Binary XML file line #10: Error inflating class com.ui.demo.custom.DrawView
- 刀片服务器部署VMWare vSphere遇到的问题总结
- (RHCA436)9 LVMs集群逻辑卷
- http协议的状态码——400,401,403,404,500,502,503,301,302等常见网页错误代码
- 二进制 位运算
- 第十五周项目一-程序填空(范型程序设计)
- 华为OJ——购物单
- Android_Sqlbrite入门使用
- Socket原理与编程基础
- 测试浏览
- obj-m
- Active Directory管理中心
- 【BZOJ3011】[Usaco2012 Dec]Running Away From the Barn【可并堆】
- SSH框架网上商城项目第30战之项目总结(附源码下载地址)