User A sign out of the file:
User want to modify the file B:
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Application scenarios:
Documents: the web.config
Users A checkout, B also want to change, then prompt: has been checked out, other users can't check out (can modify the local, can't submit, similar vss2005 modify the file read-only property principle)
Objective: to avoid multiple users to modify the same file at the same time, lead to late to deal with conflict, the combined code,
Tested with two different git account, you can sign out the same file at the same time,
Is there a way to set only allow a user to sign out?
CodePudding user response:
TFS people check out - ban people checkout - hoping to find your answer - CSDN bloghttps://blog.csdn.net/lilinoscar/article/details/53068637
TFS can set
CodePudding user response:
Git can't do that, did not sign out of this feature, in fact TFS checkout exclusive very affect teamBecause when the git commit operation you do is just to this shop operation, need to push/pull and only when the remote server to communicate
More than one person the same file can be solved with merge capabilities
CodePudding user response:
Git is a distributed principle, any one machine can be finally managed area, if you want that the central integrated management, the choice of the TSVCCodePudding user response: