git 오류 보고: ERROR: missing Change-Id in commit message footer

1192 단어 git
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 [email protected]:hooks/commit-msg ${gitdir}/hooks/
remote: 
remote: 
To ssh://[email protected]: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://[email protected]:29418/sw1/slpt'

해결 방법:
1. 프롬프트에 따라 생성합니다.git/hooks/디렉터리에 있는commit-msg 파일을 다시 gitcommit --amed.
2. 생성에 성공하지 못하면 다른 것으로 간다.git/hooks/디렉터리에서 복사합니다.

좋은 웹페이지 즐겨찾기