3

In tfs options you can set tfs to locally get latest item on check-out. Is there anyway to force get latest prior to check in to avoid overwrites? I'm not TFS admin btw.

user2049142
  • 147
  • 1
  • 2
  • 9
  • There is always chances of overwrites if you don't take care.. Even if you force to get latest prior to check in or get latest after check in. So the real solution might not be to force get latest but to learn/teach how to merge while checking in or while getting latest – Rajshekar Reddy Oct 20 '16 at 16:52
  • We are not using branches in the environment I'm working in-everything gets checked in and out of the main trunk. Branches would help out a lot. – user2049142 Oct 20 '16 at 19:55
  • I also work on TFS which is one main branch.. and around 12 developers are working on it, All I had to do was to teach them what happens during get latest (before or after checkin) and why they get merge conflicts and how to resolve it. Also I feel its better to get latest prior to checkin, – Rajshekar Reddy Oct 21 '16 at 07:33

1 Answers1

-1

I think which you want is to "get latest get the latest" and avoid TFS force you to resolve conflicts before checking in.

However, TFS redefined what "Get Latest" does. In TFS terms, Get Latest means get the latest version of the files, but ignore the ones that the server thinks is already in your workspace. Moreover, doing a get latest is good practice, but not mandatory. There is no such settings.

There has been some similar questions in SO and got an amazing answer, below links for your reference:

Community
  • 1
  • 1
PatrickLu-MSFT
  • 49,478
  • 5
  • 35
  • 62