내 커밋을 위해 git을 사용하고 있습니다. 커밋 커밋 문제
$ git push origin HEAD:refs/for/master
Counting objects: 117, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (29/29), done.
Writing objects: 100% (29/29), 2.79 KiB | 0 bytes/s, done.
Total 29 (delta 17), reused 0 (delta 0)
remote: Resolving deltas: 100% (17/17)
remote: Processing changes: refs: 1, done
remote: ERROR: missing Change-Id in commit message footer
remote: Suggestion for commit message:
remote: Merge branch 'master' of ssh://s3.testing.com:29418/testing into m
asoud
remote:
remote: Change-Id: I12be02f75b42c4304591835dffe8d7e8aa01f761
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/telewebion
! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit messag
e footer)
error: failed to push some refs to 'ssh://[email protected]:29418/
testing'
내가 너무이 일을 시도 : 나는이 문제 자식에 밀어을
scp -p -P 29418 [email protected]_gerrit_address:hooks/commit-msg .git/hooks/
및
git rebase masoud -i
및
git commit --amend
하지만 난 여전히를 얻을 수 같은 오류.
git 저장소에 기본 규칙보다 엄격한 규칙이 있습니다. 당신은 그들을 밀기 위해 그들을 준수해야합니다. "remote :"로 시작하는 모든 행을주의 깊게 읽으십시오. –