This project is read-only.

Recovering from TFS restore

Dec 9, 2013 at 5:33 PM
I use git-tf for all of my local work. I have a script that updates my local git repositories from TFS. For each repository I have something like:

cd "C:\Users\steved\workgit\Utilities"
git tf fetch --deep

Our TFS server recently had an "out of disk space" error. I updated my local repos from TFS before I realized this had occurred.

When this occurred, some of the change sets in git show files as having been deleted, that are present in the new restored TFS repository. Is there a way to re-sync the git repository with TFS?

This is not the first time this has happened. In the past I have re-fetched from tfs (including all history) after the restoration. Is there a better way?