Home > OS >  Private folder in public repository
Private folder in public repository

Time:01-24

Is it possible to create a private folder that will be in a public repository?

I want something on hand on the remote server, but I don't want everyone to have access to it.

Therefore, I would like to have this as a private folder. Is this setting possible? Have any of you tried to do something like that?

CodePudding user response:

No, you cannot have different public/private settings within one repository. The closest thing I can think of would be to keep the repositories separate and use submodules to create a unified directory tree, but I can’t judge if that makes sense for your workflow.

  •  Tags:  
  • Related