본문 바로가기
프로그래밍/Git

윈도우용 Git설치하기

by Mr-후 2024. 7. 4.
반응형

https://git-scm.com/download/win 

 

Git - Downloading Package

Download for Windows Click here to download the latest (2.45.2) 32-bit version of Git for Windows. This is the most recent maintained build. It was released about 1 month ago, on 2024-06-03. Other Git for Windows downloads Standalone Installer 32-bit Git f

git-scm.com

 

우선 cmd창에서 git 명령어를 작성해서 설치된 깃이 있는지 확인해본다. 없다면 설치를 시작. 

위 사이트에서 자신의 윈도우에 맞는 설치파일을 다운로드 한다. 

64-bit Git for Windows Setup.

다운로드 된 실행파일을 더블클릭해서 설치를 진행. 

많은 옵션들이 나오지만 나는 모든 옵션을 기본적으로 선택된 항목으로 설치를 진행. Next...Next...Next... 했다는 이야기다. 

잠시 설치하는 동안 대기... 

 

Completing the Git Setup Wizard! 

설치가 완료되었다. 이제 제대로 설치되었는지 확인이 필요하다. 

열려있는 cmd창이 있다면 모두 닫는다. 

그리고 새롭게 cmd창을 열고 다음 명령어로 Git이 제대로 설치되었는지 확인한다. 

git -v 

git version 2.45.2.windows.1

과 같이 설치된 버전이 나올 것이다. 

사용자 이름과 이메일을 등록해보자. 

C:\Users\USER>git config --global user.name "younghu.min"

C:\Users\USER>git config --global user.email "younghu.min@gmail.com"

#config 항목 확인하기 

C:\Users\USER>git config --list
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/Program Files/Git/mingw64/etc/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master

user.name=younghu.min
user.email=younghu.min@gmail.com

 

설치 끝.

 

 

반응형