CodeCommit not consistent with local copy of repo (which is known to be correct)

0

Our CodeCommit repo is out of sync with our local copy repo, and cannot be reconciled. We seek remedies. This is the situation in our local copy after a merge from a feature branch into a build branch and pushing the build branch (to kick off a build):

$ git switch feature
$ git pull
Already up to date.
$ git push
Everything up-to-date
$ git switch build
$ git pull
Already up to date.
$ git merge feature
Already up to date.
$ git push
Everything up-to-date

At this point, when we try to "verify" the situation in CodeCommit with a (dummy) Pull Request from 'feature' to 'build', CodeCommit says that the PR is not mergeable and says this about the difference between the two branches:

Differences between the source branch and the destination branch cannot be displayed for this pull request. The difference between the source branch and the merge base of the destination branch is too great. Use Git to forward integrate changes in the destination branch into the source branch, squash the source branch commits, or otherwise reduce the number of differences between the two branches.

What is going on? How can this be fixed? What does "forward integrate" mean?

arayq2
질문됨 6달 전52회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠