git - What does this mean from a security perspective: "Caution: This repository is private but the published site will be public." -


i've got repo contain sensitive information, in github made private. after doing so, however, message displayed:

caution: repository private published site public. 

can me understand message means? also, since need keep these sensitive files secure, security considerations should made?

thank in advance.

it means information stored in gh-pages branch of repository publicly available via github pages via http://<username>.github.io/<projectname>.

gh-branch special branch, content automatically published mechanism called github pages.

here example. i've created private repo private_with_pages. can not see because, well, it's private. nevertheless, file index.html, stored in branch gh-pages, publicly available.

now in settings of github repository see message “caution: repository private published site public.”

according help page way disable feature remove gh-pages branch github. how remove remote branch described here.

see related question: private pages private github repo


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -