TFS auto-checkout before checkin

后端 未结 5 1927
夕颜
夕颜 2021-01-14 00:13

Does a feature like \"TFS auto-checkout before checkin\" exist, so that I don\'t checkout any file until the moment I say \"checkin\", e.g. in case I only change files tempo

5条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-14 00:32

    From time to time I hear from people who dislike the automatic check out behaviour common with TFS. One of the great things about TFS is the the pending changes list that shows you the files you have currently checked out and allows you to easily undo any un-intentional check outs. While I personally find the auto-checkout features a productivity boon - like most things there is a preference that you can use to adjust the default behaviour if you find it causes problems with the way you like to work.

    In Visual Studio 2008 (with the Team Explorer 2008 installed), go to Tools, Options, Source Control, Environment and change the Checked-in items for Saving and Editing to "Prompt for check out" rather than the default which is "Check out automatically".

    This will then prompt you before the automatic checkout occurs and give you the opportunity to cancel if you wish.

提交回复
热议问题