Git 한글 파일명 깨짐 해결 - swkim0128/PARA GitHub Wiki

Git 한글 파일명 깨짐 해결

rw-book-cover

Metadata

  • Author: velog.io
  • Full Title: Git 한글 파일명 깨짐 해결
  • Category: #articles
  • Document Tags: git
  • Summary: VSCode 코드에서 터미널을 이용해 git 명령을 쳤는데 다음과 같이 파일명의 한글이 깨지는 현상이 발생했다.

찾아봤더니 git의 core.quotePath 옵션이 기본적으로 true로 설정되어 있어서 파일 이름을 출력할 때 ""(double quotation)으로

Highlights

  • git의 core.quotePath 옵션이 기본적으로 true로 설정되어 있어서 파일 이름을 출력할 때 ""(double quotation)으로 감싸고 C언어에서 \(escape character) 문자가 동작하는 것과 동일하게 보여지는 것이라고 한다. (View Highlight)
  • git config core.quotepath false (View Highlight)
⚠️ **GitHub.com Fallback** ⚠️