This blog is useful to all my friends who are working on the .Net Technology and wants to enhance their skills as well their problem solving ability.

Monday, June 18, 2018

How can I retrieve old code before merge with new code in TFS

Issue -
By mistake if you merge the new code(of server) with your local code and now you want to retrieve the old code before the merge ...

Solution -
You can use below path to get the temp file which has old code, TFS storing this data as temp data in this folder ... VERY MUCH USERFUL

Path : C:\Users\%USERNAME%\AppData\Local\Temp\TFSTemp\