我无法推送代码

时间:2017-08-23 09:23:24

标签: github

Counting objects: 26, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (21/21), done.
Writing objects: 100% (26/26), 12.03 KiB | 0 bytes/s, done.
Total 26 (delta 16), reused 3 (delta 1)
remote: 
remote: One of your commit messages is missing an issue ID:
remote: 
remote:   13f7efa: RED-fleet-integration implement new jfa schema
remote: 
remote: For more information, see https://confluence.atlassian.com/x/ZwjoE.
remote: 
To git@bitbucket.org:mba-rb/redbook.git
 ! [remote rejected] RED-fleet-integration -> RED-fleet-integration (pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:mba-rb/redbook.git'

1 个答案:

答案 0 :(得分:1)

您在git存储库中分配了一些问题。 因此,当您要推送代码时,请在提交消息中添加Issue Id。像:

Issue Id: 3

您的提交消息是:

commit xyz

然后你的最终提交信息应该是:

#3 commit xyz

commit xyz #3

commit #3 xyz