Please give me some guidance...How does git control users' permission to download code? In the envisioned scenario, if a new person comes to the company and clones the entire code, will there be any problem?
淡淡烟草味2017-05-02 09:54:26
Native git does not have permission settings. Now those who have permission requirements use github or gitlab and other git-based online code management platforms (which also come with more powerful functions). For those who have private deployment requirements, only gitlab currently provides a community. version system, there are also Chinese docker images
It is not recommended to use svn, the risk of losing code version records is still much higher than git @ZXCDFGTYU
高洛峰2017-05-02 09:54:26
I once used Gitolite to assign permissions to git projects, and it worked well
If a new person comes to the company and clones the entire code, will there be any problem?
If everything in the entire company is in one warehouse and others are not allowed to clone it, how can others develop it? If there are several, corresponding permissions will be given.
ps: To quote Liao Dada: Code is worthless now
PHP中文网2017-05-02 09:54:26
Set permissions. Git is generally divided into public and private. Generally, private ones need to be added to a group before they can be cloned. Can be set within the project.
大家讲道理2017-05-02 09:54:26
If you want to set permissions, you still need to use svn. After all, the original intention of git design is open sharing. It is quite troublesome to set permissions in git. It is not as good as svn. Just set it in the configuration file and it also has hooks
大家讲道理2017-05-02 09:54:26
Gitlab can be used, but when you give permission, it will still clone all the code. . .
I would like to say that I have the front-end codes of several internship companies in my computer. As long as I have a learning attitude, check it out and don’t do any transactions, I think it’s fine