문제

I'm using git. I have a branch, apifixes, that was branched from master some time ago. Most, but not all, of the changes from the apifixes branch have been merged back into master. At least, I believe this is the case, because when I try to do

git branch -d apifixes

I get the following error:

error: The branch 'apifixes' is not an ancestor of your current HEAD.

How can I tell which changes are in apifixes but not in master?

도움이 되었습니까?

해결책

git log master..apifixes

show commits reachable from apifixes, but not from master

if you want to show the difference between the two, use git diff instead

다른 팁

날짜와 사용자 이름 필드는 특히 이러한 오류가 특히 민감 해지는 것을 발견했습니다.필드에 사용자 이름을 붙여 넣으려면 해당 사이트에 '존재'해야합니다.유효한 도메인 사용자만으로는 충분하지 않습니다.해당 사이트 컬렉션과 관련된 사용자 ID를 얻으려면 적어도 한 번만 사이트에 액세스해야합니다.표준 양식을 통해 입력하면이 제한을 피하십시오.여러 사용자를 허용하는 필드에 사용자를 추가하는 데 어려움이있었습니다.

문제가 발생하는 정확한 행을 식별 할 때까지 행의 작은 하위 집합을 붙여 넣습니다.그 시점에서 정확한 필드를 실험하고 결정할 수 있습니다.거기에서 문제를 진단하는 것이 더 쉬워야합니다.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top