Tag Archives: remote: ERROR: [28b83b5] missing ChangeId in commit message footer

remote: ERROR: [28b83b5] missing Change-Id in commit message footer

Git submits an error to Gerrit because the changeid is lost

Solution: copy the whole line prompted in it and enter:

gitdir=$(git rev-parse –git-dir); scp -p -P 29418 [email protected] :hooks/commit-msg ${gitdir}/hooks/

Note that you must use git bash command window, because the following error messages may appear if you use vscode (special symbols are not recognized by the terminal here)

Then execute: git commit — amend

Done!