GIT push error!!!!

Source: Internet
Author: User

[ email protected] sh]# git pushto [email protected]:yanjing_chenl/it-Doc.git! [Rejected] master, master (non-fast-forward) error:failed to push some refs to'[Email Protected]:yanjing_chenl/it-doc.git'To Prevent fromLosing history, non-fast-forward updates were rejectedmerge the remote changes before pushing again. See the'Note AboutFast-forwards' section of'git push--help'For details.

I did a fix on Gitlab, not locally, so there's a problem.

[[email protected] sh]# git pullremote:counting objects:4, done.remote:Compressing objects: -% (4/4), Done.remote:Total4(Delta2), reused0(Delta0) Unpacking objects: -% (4/4), done. From Xx.xx.xx.x1:yanjing_chenl/it-DOC 3152d76. 75FFCB1 Masterorigin/Masterauto-merging sh/Guoer. Shmerge made by recursive. SH/guoer. SH |2+-1Files changed,1Insertions (+),1Deletions (-)

To submit a problem resolution again:

[[email protected] sh]# git pushcounting objects: -, done. Delta CompressionusingUp to4threads.compressing objects: -% (8/8), done. Writing objects: -% (8/8),893bytes, done. Total8(Delta4), reused0(Delta0) to [email protected]:yanjing_chenl/it-doc.git 75FFCB1. 03424A3 MasterMaster

Git push error!!!!

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.