Gerrit error when Change-Id in commit messages are missing

前端 未结 12 1184
北荒
北荒 2020-11-28 03:58

I set up a branch in the remote repository and made some commits on that branch. Now I want to merge the remote branch to the remote master.

Basically follows are my

12条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 04:32

    Check your git repo before committing

    gitrepo/.git/hooks/commit-msg
    

    if this file is not present in that location then you will get this error "missing Change-Id in commit message" .

    To solve this just copy paste the commit hook in .git folder.

提交回复
热议问题