TFS 2015 bug TF401029: Could not find commit with id

295 Views Asked by At

I made a commit and tried to merge the branch in the last sprint, but I did abandon it using TFS UI during the merging process. Please look at the image below:

enter image description here

After that, I keep on getting the below error on the SDK home page:

enter image description here

But, when I run this command:

git show C3929475ACE562721FB0E8957FB9B0D30BA123C4

It shows the last committed/pushed logs and files as well(after the PR got approved).

The problem is, I can't push the latest changes to remote now that throws an error as:

! [remote rejected] TFS_200858_Get_Part_3 -> TFS_200858_Get_Part_3 (A parent commit specified in the supplied included commits is invalid.) error: failed to push some refs to branch https://some_remote_branch_url

To update the refs with Origin I tried the below git commands, but no luck:

git remote prune origin
git gc --prune=now

Now the client deliverable and the job both are at stake.

Thanks!!

0

There are 0 best solutions below