$ git config --global -e
1. Editor를 vim으로 변경하기
[core]
quotepath = false
editor = vim
2. merge tool을 vscode로 설정하기
- 설정후 git mergetool 커맨드 실행하면 vscode로 merge conflict 작업을 수행할 수 있다.
[merge]
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
728x90
'Tools > Git' 카테고리의 다른 글
[Git] git config 범위 (0) | 2024.12.12 |
---|---|
[Git] Git remote 변경하기 (0) | 2022.08.24 |
[Git] .gitignore 문법 (0) | 2021.08.17 |
댓글