如何在 GitHub 中设置文件权限

发布于 2025-01-17 06:39:30 字数 168 浏览 3 评论 0原文

是否可以通过 更改文件的可执行标志(这是 git 支持的唯一 文件权限) >GitHub 网络界面?当然,可以从命令行完成,但我想知道是否/如何通过网络完成界面。

Is it possible to change the executable flag (which is the only file permission that git supports) of a file through the GitHub web interface? Of course, it can be done from the command line, but I was wondering if/how it can be done through the web interface.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笑忘罢 2025-01-24 06:39:30

不可以,无法通过 GitHub UI、Rest API 或 GraphQL API 更改文件权限。

No, there is no way to change the file permissions via the GitHub UI, Rest API, or GraphQL API.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文