Other

[Windows] 로컬 컴퓨터에 Git 설치하기

시애닝 2023. 4. 8. 14:00

▶ 세팅 환경

OS: Windows 11

 

▶ 설정 방법

1. git 설치 사이트에 접속합니다

https://git-scm.com/downloads

 

Git - Downloads

Downloads macOS Windows Linux/Unix Older releases are available and the Git source repository is on GitHub. GUI Clients Git comes with built-in GUI tools (git-gui, gitk), but there are several third-party tools for users looking for a platform-specific exp

git-scm.com

 

 

2. "Download for Windows" 버튼을 클릭합니다.

 

 

3. "Standalone Installer" 에서 본인 컴퓨터에 맞는 비트로 다운로드하여 실행합니다.

* 비트 운영체제 종류 확인

더보기

1) "제어판 > 시스템 및 보안 > 시스템" 또는 윈도우 검색창에서 "시스템" 검색 후 클릭

2) "시스템 종류" 확인

 

 

4. [선택사항] Git 설치 중에 아래와 같이 기본 에디터를 선택하는 창이 뜨는데, 저는 VSCode를 사용 중이라서 "Use Visual Studio Code as Git's default editor"를 선택해줬습니다.

 

 

5. 설치 완료 후, 잘 설치되었는지 터미널에서 확인합니다.

C:\> git --version
git version 2.39.1.windows.1

 

 

6. Git 개발자 정보를 설정합니다.

C:\> git config --global user.email '[사용자 이메일]'
C:\> git config --global user.name '[사용자 이름]'

# 설정되었는지 확인 명령어
C:\> git config user.email
C:\> git config user.name

 

 

 

 

 

 

- 문의와 피드백은 언제나 환영입니다 ( •̀ .̫ •́ )✧ -