2016-08-08 6 views
2

일부 파일을 수정하고 새 커밋을 한 다음 입력했습니다. git pull 그러면 git이 자동으로 새 병합 커밋을했습니다. 그렇다면 나는 그것을 없애려고 git rebase을했습니다. 그리고 빈 커밋은 이제 사라졌습니다.Gerrit 중복 요청이 거부되었습니다.

하지만 git review을 수행 할 때 지금, 나는 그것이 중복 요청이 말한다 왜 알아낼 어떻게

You are about to submit multiple commits. This is expected if you are 
submitting a commit that is dependent on one or more in-review 
commits. Otherwise you should consider squashing your changes into one 
commit before submitting. 

The outstanding commits are: 

←[33me4b3f96←[m←[33m (←[m←[1;36mHEAD←[m←[33m -> ←[m←[1;32mmaster←[m←[33m)←[m unit tester fixes 
←[33mbc61468←[m Addded test cases to ... 
←[33me21d8c7←[m Added test cases to the 
←[33ma8d2919←[m added another test case 
←[33m938ef4f←[m Modified a few tests 
←[33mbee5ba1←[m FA initial 

Do you really want to submit the above commits? 
Type 'yes' to confirm, other to cancel: yes 
remote: Resolving deltas: 100% (38/38) 
remote: Processing changes: refs: 1, done 
remote: (W) bc61468: commit subject >65 characters; use shorter first paragraph 
remote: (W) bc61468: commit message lines >70 characters; manually wrap lines 
To ssh://[email protected]:29418/IM 
! [remote rejected] HEAD -> refs/publish/master (duplicate request) 
error: failed to push some refs to 'ssh://[email protected]:29418/IM' 

를 얻을? 나는 그것이 왜 일어나는 지 이해하지 못합니다. 나는 아무 소용이없는 다양한 것들을 시도했습니다.

답변

3

신경 쓰지 마세요. 그래서 내 커밋은 "다른 테스트 사례 추가"커밋과 동일한 변경 ID를 가졌습니다 "몇 가지 테스트 수정". 변경 ID를 동일하게 만들었으므로 gerrit에 대한 이전 커밋에서 패치 세트로 표시됩니다. 그러나 gerrit가 변경 사항을 하나의 커밋으로 스쿼시하기를 원했던 것처럼 보입니다.

그래서 나는 그들을 부숴 버렸고 지금은 중복 오류가 발생하지 않습니다.

관련 문제