Is there a way to lock individual files or directories on fork when using git?

后端 未结 8 1408
孤独总比滥情好
孤独总比滥情好 2020-11-30 02:47

We are a team of 60+ developers working on the same product and are moving from SVN to Git and GitHub. We have a process in SVN where in individual files are locked and when

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-30 03:14

    Git does not provide any locking functionality, since it is decentralized. However, if you host your code on GitLab Enterprise Edition Premium, you can use the web interface to lock individual files or folders, achieving exactly what you want to do.

    If you do not want to host your project on someone else's server (their website), you can also download GitLab and host it on your own webserver.

提交回复
热议问题