[Git][튜토리얼] 02.Git 설치
02. Git 설치
프로그램 종류
- GUI
SourceTree
Github Desktop
Tortoise
그 외 Git 공식 GUI 툴 - CLI
Terminal에서 명령어 직접 입력
윈도우: 터미널, GitBash, VSCode
맥: 터미널
그 외 Git 공식 CLI/TUI 툴
다운로드
링크: https://git-scm.com/install/windows
환경변수 설정 옵션
-
Use Git from Git Bash only : Git bash에서만 실행
-
Use Git from the Windows Command Prompt : 윈도우
-
명령프롬프트에서 git 실행가능하도록 환경변수 추가 (체크)
-
Use Git and optional Unix tools from the Windows Command Prompt : git과 unix도구들을 환경변수에 추가
라인 엔딩 옵션
-
Checkout Windows-style, commit Unix-style line endings : 체크아웃, 커밋 둘다 CRLF가 LF로 변환 (체크)
-
Checkout as-is, commit Unix-style line endings : 체크아웃 변환 작업하지 않음, 커밋 변환
-
Checkout as-is, commit as-is : 체크아웃, 커밋 둘다 변환하지 않음
깃 설치 확인
git --version
- 정상 설치된 경우 출력

사용자 설정
git config --global user.name <사용자이름>
git config --global user.email <사용자메일>
설정 확인

VSCode Git Extension
- git GUI로 수정 내역, 히스토리 출력 및 이쁜 GUI 제공
-
무료

-
Pro 버전은 유료

-