git config2 [Git] git config 범위 Git config란?config는 configuration의 약자로 git의 환경설정을 하는 명령어이다. Git config의 설정범위 및 config 파일의 경로git config의 설정범위는 local, global, system이 있다.local은 저장소별 적용되는 범위이고,global은 사용자별(PC의 로그인) 적용되는 범위이고,system은 모든 사용자, 모든 저장소에 적용되는 범위이다. 범위 지정없이 git config 명령을 할 경우 default값은 local범위로 설정된다. git config의 설정파일의 경로는local의 설정파일 위치는 저장소안의 .git/config 이고,global의 설정파일 위치는 ~/.gitconfig 이고,system은 Linux = /etc/gitconfi.. 2024. 12. 12. [Git] 편리한 Git config. $ git config --global -e1. Editor를 vim으로 변경하기 [core] quotepath = false editor = vim2. merge tool을 vscode로 설정하기 설정후 git mergetool 커맨드 실행하면 vscode로 merge conflict 작업을 수행할 수 있다. [merge] tool = vscode [mergetool "vscode"] cmd = code --wait $MERGED 2021. 3. 31. 이전 1 다음