Is there a way to restrict a ssh key/user from accessing some part of the repo?

Viewed 56

I have a container running which is pulling a repository into its system. But I want to restrict its access to only one folder of that repository.

Say I have a repository my_code with two folders my_code/all my_code/restrict

The user with should be able to pull only my_code/all and not my_code/restrict

0 Answers
Related