LoginSignup
0
0

More than 1 year has passed since last update.

githubのリポジトリ言語表示を変更する

Posted at

背景

Githubのリポジトリ言語がPythonは使ってないのにリポジトリ言語にPythonが表示されていた。

原因

この現象が起きる原因としては1つのライブラリの中にPythonの言語が使われているものがあり、そのせいでリポジトリの主要言語としてPythonが使われいると判断されていたそうです。

解決方法

touch .gitattributes

で新しくファイルを作成します。

そこで

*[使われしまっている言語名] linguist-language=[変更したい言語名]

をすることでリポジトリの言語を変更することができます。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0