반응형
“git difftool”이 도구를 직접 열지 않는 이유는 무엇입니까?
나는 이렇게 구성 git
했다.
git config --global diff.tool meld
내가 실행할 때 :
git difftool
다음과 같은 메시지가 나타납니다.
Viewing: 'hello.txt'
Hit return to launch 'meld':
그럼, 누르면 Enter, meld
시작됩니다.
meld
입력 후 바로 시작 되도록이 메시지를 어떻게 비활성화 할 수 git difftool
있습니까?
man git-difftool
OPTIONS
-y, --no-prompt
Do not prompt before launching a diff tool.
옵션도 있습니다 :
difftool.prompt
Prompt before each invocation of the diff tool.
다음 명령은 프롬프트를 전체적으로 해제합니다 (모든 저장소에 대해).
git config --global difftool.prompt false
글쓰기와 같습니다 ( ~/.gitconfig
또는 %HOMEDRIVE%%HOMEPATH%\.gitconfig
)
[difftool]
prompt = false
참고 URL : https://stackoverflow.com/questions/7897517/why-does-git-difftool-not-open-the-tool-directly
반응형
'Programing' 카테고리의 다른 글
파이썬에서 IP 주소를 확인하는 방법? (0) | 2020.06.12 |
---|---|
정자 명령을 찾을 수 없습니다 (0) | 2020.06.12 |
각도-UI 라우터가 이전 상태를 얻습니다. (0) | 2020.06.12 |
UIButton에서 이미지 아래 레이블 (0) | 2020.06.12 |
Ruby에서 문자열을 작성할 때 삽 연산자 (<<)가 더하기 등호 (+ =)보다 선호되는 이유는 무엇입니까? (0) | 2020.06.12 |