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

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

问题描述

GitHub搜索允许按语言过滤存储库。我如何设置一个特定语言的存储库?

解决方案

正如VonC在评论中提到的,你可以将你的库放在供应商或第三方下, t由语言学家分析,工具GitHub用于分析代码中的语言。

 #供应依赖关系
- 第三[-_]?派对/
- 第3 [-_] ?party /
- 供应商?/
- extern(al)?/

更新:
他们添加了更多文件夹名称


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

解决方案

As VonC mentionned 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)?/

Update: They added more folder names

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

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