如何解决failed to push some refs to git

我在高通源码上git commit后,git push origin HEAD:refs/for/****_o_8_1时出现,

error:failed to push some refs to git ‘ssh://192.168..:**/../.git’;

查找了半天,与SPM讨论后才看出问题是changes-Id的问题,于是在./git/hooks下找到commit-msg,

chmod a+x commit-msg,

然后git push origin HEAD:refs/for/****_o_8_1 ,推送成功

你可能感兴趣的:(git,Ubuntu的的,Android的,Liunx运维)