SVN files and directories read-only properties, can also be implemented in Git?

  

Cloud sixth anniversary series code updates the second bomb - Git read-only file support! ! !

As an application project, there will be some general information about the configuration file to describe the production environment, such as service connection information, environment configuration information. In the local development process and configure these files must be adjusted in accordance with the local service environment, and if not careful submit these changes could lead directly to application creation environment does not operate properly.

SVN so there on a very useful feature, you can configure some files are read-only, and are not allowed to submit changes.

The Git itself is not this feature, mainstream platform Git branch will generally provide read-only functionality, but can not achieve a read-only restrictions on individual files or folders.

The dividing line ------- ------

but! Only a global, cloud code now provides this functionality! !

Use as follows:

1. Go to the warehouse page, right to be set to read-only files or folders, select the "read only identified as" (warehouse manager has the authority)

2. Go to the warehouse management interface, you can view and manage all warehouse read-only setting

3. If you push the code time, include modifications to the read-only file will error:

Submit error codes:

è¾ ?? to ?? ¥ to ?? ¾ç ???? è¯'æ ????

PR merge error codes:

è¾ ?? to ?? ¥ to ?? ¾ç ???? è¯'æ ????

This feature is currently available to all Enterprise Edition users, including free and paid Enterprise Edition users.

Go experience https://gitee.com/enterprises 

Guess you like

Origin www.oschina.net/news/107041/gitee-readonly-feature