简体   繁体   中英

Private folder in public repository

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM