Search code examples
gitgithubtranslationgit-submodulesgit-subtree

Grant access to a single file on github


I'm just searching for a possibility 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.

Looking forward for your responses!

Thanks!

Sebastian


Solution

  • 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.