Remote:ERROR:missing Change-id in commit message footer

Source: Internet
Author: User

Remote:ERROR:missing Change-id in commit message footer[summary: Git commits to proximity repository slip: remote:ERROR:missing Change-id in commit mes Sage footer where the error is actually due to the equipment set up time out of a "hook" equipment, due to local submission to the short-range repository of time in the central to borrow through]

git commits to remote repository error: remote:ERROR:missing Change-id in commit message footer

Here the error is actually because the configuration is not to get a "hook" thing, because the local submitted to the remote repository when the middle of a review

Workaround:

1. Get "hooks" from the server to local, such as: scp -p -P 8849 远程版本库地址:hooks/c ommit-msg .git/hooks/

2. Then resubmit:git commit --amend

Run the above command, and after entering vim, put the change-id of the above red box behind the comment. Such as:

Merge code
change-id:ib177a7e11519838f1036e7432fd199027a13c78d


3. Now it's time to submit to the remote repository: git push origin HEAD:refs/for/develop

Ouke, has now been submitted to the remote repository!

Author: leedaning
This address: http://blog.csdn.net/leedaning/article/details/46550303

Remote:ERROR:missing Change-id in commit message footer

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.