2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Git for Windows(Git Bash)で起こる日本語ファイル名の文字化けを解決

Posted at

最初に

WindowsでGitを使いたいときはGit for Windowsを使うことが多いが、
日本語ファイル名が文字化けしてaddできない問題が起こったので解決策をメモします。

環境

  • Windows10
  • GitBash設定:デフォルト
  • GitBashターミナル:コマンドプロンプト
  • Git for Windowsバージョン:Git-2.28.0-64-bit

解決策

以下のコマンドを叩いて解決しました。

git config --global core.quotepath false
2
1
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
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?