Gerrit error when Change-Id in commit messages are missing
2013-01-09 17:47
507 查看
Check if your commits have
you can "git log" to review your commits have
If no, use
For the future, you should install commit hook, which automatically adds the required Change-Id.
Execute
scp -p -P 29418 eyacdfn@gerrit.sh.cn.ao.ericsson.se:hooks/commit-msg .git/hoos/
Change-Id: ...in their descriptions. Every commit should have them.
you can "git log" to review your commits have
Change-Id
If no, use
git rebase -ito reword the commit messages and add proper Change-Ids (usually this is a SHA1 of the first version of the reviewed commit).
For the future, you should install commit hook, which automatically adds the required Change-Id.
Execute
scp -p -P 29418 username@your_gerrit_address:hooks/commit-msg .git/hooks/in the repository directory or download them from
http://your_gerrit_address/tools/hooks/commit-msgand copy to .git/hooks
scp -p -P 29418 eyacdfn@gerrit.sh.cn.ao.ericsson.se:hooks/commit-msg .git/hoos/
相关文章推荐
- Gerrit error when Change-Id in commit messages are missing
- Gerrit error when Change-Id in commit messages are missing
- ERROR missing Change-Id in commit message footer
- 转发:SP 2010: Find error messages with a Correlation ID token in SharePoint 2010
- A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visua
- adpatch failed with error: "Missing file format id in file"
- Find error messages with a Correlation ID token in SharePoint 2010
- Git提交问题:remote: ERROR: missing Change-Id in commit message footer
- Hint: A potential Change-Id was found, but it was not in the footer (last paragraph) of the commit message
- Compiler Error Message: CS0234: The type or namespace name 'BorderDetails' does not exist in the class or namespace 'Infragistics.WebUI.Shared' (are you missing an assembly reference?)
- ERROR: missing Change-Id in commit message
- wsse:InvalidSecurity Error When Testing FND_PROFILE Web Service in Oracle Applications R 12.1.2 from SOAP UI (Doc ID 1314946.1)
- A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++
- remote: ERROR: missing Change-Id in commit message footer
- remote: ERROR: missing Change-Id in commit message footer
- A LNK2005 error occurs when the CRT library and MFC libraries are linked in the wrong order in Visual C++
- git 提交代码 ERROR: [eaabb6d] missing Change-Id in commit message footer
- google gerrit repo, git commit如何自动生成Change-Id
- git 报错:ERROR: missing Change-Id in commit message footer
- SQL Server Error Messages - Msg 1776 : There are no primary or candidate keys in the referenced Table