Just realize today, if I am using sublime-text instead of nano to commit or amend my changes willl not allow me to do a git review
remote: Hint: To automatically insert Change-Id, install the hook:
remote: gitdir=$(git rev-parse --git-dir);
remote:
remote:
To ssh://xxxxxxxx
! [remote rejected] HEAD -> refs/publish/master/xxxx (missing Change-Id in commit message footer)
error: failed to push some refs to 'ssh://xxxxxx'
so if I commit my messages using sublime will not include the Change-Id,
I changed the editor to nano the change-Id will be include with sucess:
git config --global core.editor nano
I would like to keep using sublime-text for my commits msg, so someone has a idea to how to fix this?
thanks.