○ IDE, System/VSCODE
[VSCODE] 비쥬얼스튜디오코드에서 깃허브 배쉬 사용, 설치하기. (Visual Studio Code with Git bash)
0ver-grow
2021. 2. 26. 18:20
반응형
비쥬얼 스튜디오 코드의 터미널창에서 깃배쉬를 사용해보자.
1. Ctrl키와 함께 , 키를 눌러준다.
2. terminal.integrated.shell.windows 를 입력
3. Edit in settings.json을 클릭
4. bash.exe가 있는 폴더 위치로 코드를 수정한다.
수정 전 코드
"terminal.integrated.shell.windows": ""
수정 후 코드
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe"
5. 새 터미널 창을 열거나, VSCODE를 새로 실행하면 터미널창에 git bash가 나타난다. 끝.
6. 만약에 git bash가 나타나지 않는다면?
vscode로 작업하고자 하는 폴더 > 우클릭 > git bash 클릭
하단 코드 입력하면 끝
$ code .
참고 : mishka.kr/2019/06/24/vscode-gitbash/
VSCODE,visual studio code, git bash, 깃허브, 깃배쉬
반응형