0

suppose i my main project code is in Github and my team member clone that project in their pc and open with Visual Studio for coding purpose.i guess at same time two person can made the change in same file. just guide me can i prevent this? is there any option available in Visual Studio 2013 to prevent two user to work on same file. long time i work with VSS and this kind of provision is there.

if this kind of provision is there in Visual Studio 2013 and GitHub as source control then please share the knowledge. thanks

Mou
  • 15,673
  • 43
  • 156
  • 275
  • 1
    The entire point of Git, or any version control tool for that matter, is so two people _can_ make a change to the same file in different places. – Tim Biegeleisen Aug 20 '15 at 15:16
  • This issue is similar, but not a duplicate, of http://stackoverflow.com/questions/13662255/is-there-a-way-to-lock-individual-files-or-directories-on-fork-when-using-github – joran Aug 20 '15 at 15:17
  • See [this SO article](http://stackoverflow.com/questions/9418705/github-restricting-access) for a clever way to use submodules to restrict access of certain parts of a project. – Tim Biegeleisen Aug 20 '15 at 15:17

0 Answers0