[ 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!!!!