Team Foundation Server deleted local files after I

2019-07-27 21:23发布

I have a big problem! I made lots of changes to my c# project on my local machine. I added, deleted, modified, etc. It's been about a week since I've checked anything in to TFS so when I did a check-in, TFS threw some errors saying it couldn't find some files (ones that I had deleted, ok that's fine).

So now what I did was really stupid! I undid all pending changes in TFS for that project and it totally wiped everything on my local machine back to some earlier version that I had checked in last week. All my files that I had worked on this last week were gone! What do I do!? is there any way to get my recent stuff back or am I screwed?

1条回答
趁早两清
2楼-- · 2019-07-27 22:08

You should be checking in frequently to avoid mistakes like this. If the files are gone from your file system, they're gone. You can see if you can use a file recovery utility to undelete them, but past that, there's no way to get them back.

查看更多
登录 后发表回答