推送出现此问题

tgkefu May 13, 2019

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/Ad'min/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE" push -v --tags --set-upstream origin master:master
C:/Users/Ad'min/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE get: -c: line 0: unexpected EOF while looking for matching `''
C:/Users/Ad'min/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE get: -c: line 1: syntax error: unexpected end of file

C:/Users/Ad'min/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE store: -c: line 0: unexpected EOF while looking for matching `''
C:/Users/Ad'min/AppData/Local/ATLASS~1/SOURCE~1/GIT_EX~1/GIT-CR~1.EXE store: -c: line 1: syntax error: unexpected end of file

Pushing to http://192.169.69.167/wenzi/me.mr.git
To http://192.169.69.167/wenzi/me.mr.git
= [up to date] 2019.02.11 -> 2019.02.11
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'http://192.169.69.167/wenzi/me.mr.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 15, 2019

Hi, welcome to the Community!

Please note that we can not offer support in Chinese, so I'll try to help you in English.

You can find the solution to this error at the bottom of your message:

Updates were rejected because a pushed branch tip is behind its remote counterpart. Check out this branch and integrate the remote changes (e.g. 'git pull ...') before pushing again. See the 'Note about fast-forwards' in 'git push --help' for details.

Can you try that and let us know if it worked for you?

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events