Git

초급 01. Git 설치와 기본 설정

· 1min read · 1 views

 

Git 설치 확인

git --version

 

사용자 정보 설정

git config --global user.name "Your Name"
git config --global user.email "[email protected]"

 

기본 Branch 이름

git config --global init.defaultBranch main

 

설정 확인

git config --global --list

 

Git의 Commit에는 작성자 정보가 기록되므로 프로젝트 작업 전에 이름과 이메일을 설정하는 것이 기본입니다.

Related Docs

Comments (0)

No comments yet. Be the first to comment!

Leave a Comment

로그인 후 댓글을 남길 수 있습니다.