错误提示
ERROR: missing Change-Id in commit message footer
remote: Hint: To automatically insert Change-Id, install the hook:remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418 xxx@000.00.0.000:hooks/commit-msg ${gitdir}/hooks/
remote: And then amend the commit:
remote: git commit --amend
error: 无法推送一些引用到 'ssh://xxx@000.00.0.000:29418/example/app'
其实它有提示,如果没有,当遇到这个错误时
输入gitdir=$(git rev-parse --git-dir); scp -p -P 29418 xxx@000.00.0.000:hooks/commit-msg ${gitdir}/hooks/
此处的邮箱换成自己的git的那个,然后回车
输入 git commit --amend,回车,ok解决
再次push就可以啦