3
총 Noob이므로 SmartGit을 전혀 사용할 수 없습니다. 힘내 기 용어가 너무 혼란 스럽습니다. 여기 "모든 참조가 푸시되지 않았습니다."SmartGIt의 오류
내가 무슨 짓을, 나는- 초기화 된 Repo1 GIT로
- 복제 된 Repo1는
- 추가 된 텍스트 파일을 Repo2하는 SmartGit에서이 저장소, Repo1 및 Repo2 을 생성 Repo1에 텍스트를 추가했습니다.
- 는 "모든 심판이 밀려왔다 없음"
- 은 내가 을 얻고있다 Repo1 이러한 변경을 밀어하려고 지금
- 최선을 다하고 텍스트 파일
- 에 몇 가지 변경을 Repo2 에 대한 빼서 오류 "
업데이트 :
Push: Not all refs have been pushed.
'master' rejected (non-fast-forward)
Counting objects: 10, done.
Delta compression using up to 2 threads.
Compressing objects: 20% (1/5)
Compressing objects: 40% (2/5)
Compressing objects: 60% (3/5)
Compressing objects: 80% (4/5)
Compressing objects: 100% (5/5)
Compressing objects: 100% (5/5), done.
Writing objects: 12% (1/8)
Writing objects: 25% (2/8)
Writing objects: 37% (3/8)
Writing objects: 50% (4/8)
Writing objects: 62% (5/8)
Writing objects: 75% (6/8)
Writing objects: 87% (7/8)
Writing objects: 100% (8/8)
Writing objects: 100% (8/8), 726 bytes, done.
Total 8 (delta 0), reused 0 (delta 0)
remote: error: refusing to update checked out branch: refs/heads/master
remote: error: By default, updating the current branch in a non-bare repository
remote: error: is denied, because it will make the index and work tree inconsistent
remote: error: with what you pushed, and will require 'git reset --hard' to match
remote: error: the work tree to HEAD.
remote: error:
remote: error: You can set 'receive.denyCurrentBranch' configuration variable to
remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into
remote: error: its current branch; however, this is not recommended unless you
remote: error: arranged to update its work tree to match what you pushed in some
remote: error: other way.
remote: error:
remote: error: To squelch this message and still keep the default behaviour, set
remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'.
error: failed to push some refs to '/home/sdr1/Desktop/LocalRepository'
출력 창에 몇 가지 추가 오류 정보가 있어야합니다. – mstrap
[이 질문에] (http://stackoverflow.com/questions/15794578/smartgit-error-push-error-not-all-refs-have-been-pushed) 의견이 있습니다. – 1615903
@mstrap 오류 로그를 추가했습니다. –