Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一个问题 #1530

Open
kongesten9 opened this issue Nov 1, 2023 · 4 comments
Open

请教一个问题 #1530

kongesten9 opened this issue Nov 1, 2023 · 4 comments

Comments

@kongesten9
Copy link

我使用这个项目多年了,非常感谢。现请教一个关于github的问题,就是如果我本人新建一个自己的仓库,在仓库中建立一些文件,这个仓库以及我在上面的修改活动不希望别人看到,但是这个仓库里面的文件又可以被任何人以诸如https://www.githubip.xyz/Alvin9999/pac2/aaaaaa/aaaaaa/config.json这种形式访问到,请问有没有可能办到呢?

@Alvin9999
Copy link
Owner

参考这个
https://docs.github.com/zh/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/setting-repository-visibility
更改后,你自己退出账号,测试一下地址是否能打开就知道了

@kongesten9
Copy link
Author

这篇文章讲的方法我试过,如果将公共仓库改成私有之后,访客就看不到这个仓库了,但是仓库里的文件,也无法在https://www.githubip.xyz打开,我对github不熟,英文不太好,很多看不懂,不知道有没有办法,对私有仓库中的某些文件,设置成可以public访问呢?

@Alvin9999
Copy link
Owner

Alvin9999 commented Nov 1, 2023 via email

@kongesten9
Copy link
Author

好的,知道了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants