Visual Studio 2015 and Git / TFS: Sync-Page-Error: object not found - corresponding object is missing

I work with VS 2015 Enterprise on a git repository branch that is pulled from my remote source ( = TFS 2015 ). I can change and accomplish something successfully. The moment I switch to Sync -area in Team Explorer , I see an error from above:

 An error occurred. Detailed message: Object not found - no matching loose object (<a 40-character-id is here>) 

... and I don’t see my local commit on the Outgoing commits list, where I expected it to be.

But in PowerShell, I can do git push without any problems.

+5
source share
2 answers

I saw this post in VS 2015 professional when I tried to switch from a feature branch to a main branch. restarting VS fixed it.

+1
source

If you reproduce this problem on a different client machine, pulling the same git repository from TFS, you may need a new branch from the original.

If you have the same problem, pull another git repository from TFS on the same client computer, you can try to clear the cache file on your client computer: C:\Users\username\AppData\Local\Microsoft\Team Foundation\6.0\Cache and try resetting the settings and settings of the add-in ( devenv /ResetSettings ) and ( devenv /ResetSkipPkgs ), try rebuilding all the templates ( devenv /setup ).

0
source

Source: https://habr.com/ru/post/1237647/


All Articles