📓 TechNote/Git & GitHub

[Git] Gitbash 초기 기본 설정

버터감자 2023. 3. 3. 23:44
728x90

기본설정에 앞서 git을 먼저 설치하도록 합시다

 

👉깃 다운받기 

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

 

Git - Downloading Package

Download for Windows Click here to download the latest (2.39.2) 32-bit version of Git for Windows. This is the most recent maintained build. It was released 19 days ago, on 2023-02-14. Other Git for Windows downloads Standalone Installer 32-bit Git for Win

git-scm.com


✔️ Git Bash를 통해 git 초기설정을 해보자

 

1) gitbash 프로그램 실행

 

2 ) 현 위치(directory)에 저장소를 생성하겠다

$ git init

 

3 ) 깃 환경에서 사용자이름을 "본인이름"으로 설정

$ git config --global user.name "본인이름"

 

4 ) 깃 환경에서 사용자이메일을 "본인 이메일 주소"으로 설정

$ git config --global user.email "본인 이메일 주소"

 

5 ) 제대로 적용되었는지 확인하기

$ git config --list