현재 현재 지점은 my_branch
입니다. 나는이 오류가 왜왜 "git push"가 거부 되었습니까? ("git pull"이 도움이되지 않습니다.)
$ git pull
Already up-to-date.
:에
시도$ git push
Counting objects: 544, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (465/465), done.
Writing objects: 100% (533/533), 2.04 MiB | 1.16 MiB/s, done.
Total 533 (delta 407), reused 0 (delta 0)
To [email protected]
4ed90a6..52673f3 my_branch -> my_branch
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to '[email protected]'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes (e.g. 'git pull') before pushing again. See the
'Note about fast-forwards' section of 'git push --help' for details.
git pull
에 결과를 : 내가 얻을 원격 REPO에 변경을 추진하려고? 어떻게이 문제를 해결하고 git push
을 성공적으로 수행 할 수 있습니까?
만 "my_branch"밀어하려면 : 자식 푸시 원점 my_branch을. – ysdx
승인 된 대답을 명확하게하기 위해 :'4ed90a6..52673f3 my_branch -> my_branch'는'my_branch'가 성공적으로 업데이트되었음을 나타내지 만'! [거부 된] 마스터 -> 마스터 (비 - 빨리 감기)는 마스터 브랜치가 실패했음을 나타냅니다. 즉, 일부 refs *가 저장소로 푸시되지 못했지만 일부는 * my_branch와 같이 정상적으로 진행되었을 수도 있습니다. –