LoginSignup
0
0

More than 1 year has passed since last update.

windowsのGitBashを日本語対応させる

Posted at

GitBashで日本語入力するとおかしくなる

例えばコミットする際などにGitBashを利用して日本語入力をすると、文字化けしたり、勝手に消えたりする事象が発生。
なんとかできないかと思い、色々調べてみると割とあっさり解決できたのでメモ書きとして残すことに。

日本語入力対応手順

  1. GitBashのロゴを右クリックし、Optionを選択
  2. Textを選択
  3. Localeをjs_JPに、Character setをUTF-8に変更
  4. 同画面の上部にあるFontのselectを選択
  5. フォント名をMS ゴシックに変更
  6. 最後にsaveすればOK

スクリーンショット 2023-01-25 110058.png

これだけでGitBashで日本語を使えるようになります。
簡単ですね!

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