Restoring file history in TFS

If for some reason during merge, rename or move you lost history in TFS don't turn upset. There is still an easy way to restore history. The below call will merge only history and will not modify the contents of the files.

call tf merge /version:295449 /baseless /recursive /discard "$/MyProject/SourceBranch" "$/MyProject/TargetBranch"

Comments

Popular posts from this blog

Demystifying fast up-to-date check in Visual Studio C# projects

TFS Proxy not working: The source control proxy is not responding

Bitcoin, Docker, Microservices, etc.