Skip to content

Embarrassing! Private/public repo depending on branch? #23684

Answered by Maximization
mktbup asked this question in General
Discussion options

You must be logged in to vote

Hi! You can only restrict push access to a branch, but not its visibility. I recommend using two repositories: a public repository for the MIT book and a private repository for the proprietary material.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants