Visual Studio Code로 git 관리하기(1) - 프로그램 설치

hello0U0·2022년 10월 11일
2

git

목록 보기
1/7

필요한 프로그램

  • visual studio code : https://code.visualstudio.com/download
  • git bash : https://git-scm.com/


    여기서 자신의 컴퓨터에 맞는 프로그램을 다운받아 실행한다.
  • visual studio code 확장프로그램 git graph
    1번을 클릭
    2번에 git graph를 검색
    3번 Git graph를 클릭
    4번 install을 클릭(설치된 경우 uninstall로 변경됨)
  • github 가입 : https://github.com/

Visual Studio Code에서 git bash 터미널 사용하기

vscode를 실행하고 작업할 폴더를 연다.

상단의 Terminal을 누르고 New Terminal을 눌러 터미널을 연다.

터미널 이름(아래 사진의 powershell) 옆의 아래 방향표를 누르고 git bash를 누른다. 그럼 git bash로 터미널이 변경된다. cmd나 powershell도 git 명령어가 가능하긴 하지만 git bash가 안전하다.

git bash가 안보이거나 git bash를 기본 터미널로 하고 싶은 경우 다음과 같이 실행한다.
아래 방향표를 누르고 Select Default Profile을 누른다.

Git bash를 찾아 클릭한다.

새 터미널을 열면 bash 터미널이 열린 것을 볼 수 있다.

profile
hello world

0개의 댓글