如何更改 GitHub 上存储库的语言? [英] How can I change the language of a repository on GitHub?

查看:30
本文介绍了如何更改 GitHub 上存储库的语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

GitHub 搜索允许按语言过滤存储库.如何将存储库设置为特定语言?

GitHub search allows filtering repositories by language. How can I set a repository to a specific language?

推荐答案

As 评论中提到的 VonC,您可以将您的库放在供应商"下或第三方"语言学家,GitHub 用来分析代码中语言的工具.

As VonC mentioned in the comments, you can put your libraries under "vendors" or "thirdparty" and the files won't be analysed by linguist, the tool GitHub uses to analyse the language in your code.

# Vendored dependencies
- third[-_]?party/
- 3rd[-_]?party/
- vendors?/
- extern(al)?/

后来,他们添加了更多文件夹名称.

Later, they added more folder names.

这篇关于如何更改 GitHub 上存储库的语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆