Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Grant access to a single file on github

I want to grant access to another developer to one single file in my git-repository. Is there any way except of submodules/subtrees?

It's just the localization-file which should be translated by an other person.

like image 483
Sebastian Avatar asked May 28 '26 12:05

Sebastian


1 Answers

No, you cannot restrict access to single files on github.

You could either use a submodule or just have the other developer to send a pull request, if anything other than that file is changed you just reject it.

like image 135
Alberto Zaccagni Avatar answered May 31 '26 05:05

Alberto Zaccagni



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!