# Git에서 EmEditor를 기본 텍스트 편집기로 사용하도록 설정하려면 어떻게 합니까?

1. **Git Bash**를 열고 다음 명령을 실행하여 기본 편집기를 설정합니다.

    ```text
    git config --global core.editor "emeditor.exe -sp"
    ```
    - 구성 변수 [`core.editor`](https://git-scm.com/docs/git-config#Documentation/git-config.txt-coreeditor)에 대한 설명서를 참조하십시오.
1. 커밋 명령을 사용할 때마다 EmEditor에서 커밋 메시지를 작성할 수 있습니다.

![Git 커밋 메시지](/media/2022/10/Screenshot-2022-10-16-094108.webp)
