Git
Working directory(내 작업공간)-staging area(add하면 나오는 저장소)-repotsitory(git 커밋 저장소)
commit에 관한 주의사항
처음으로 커밋하기 전 사용자 이름과 이메일 주소 설정
git config user.name “이름”
git config user.email “이메일”
커밋 메시지 남기기(옵션-m)
Git commit -m “ 내용“
커밋할 파일 git add로 지정해주기
git add 파일명
git config --list
git config -l
--global를 사용하여 전역으로 설정
git config --global user.name "USER_NAME"
git config --global user.email "USER_EMAIL"
Repository마다 다른 사용자(계정) 정보 사용
git config --local user.name "USER_NAME"
git config --local user.email "USER_EMAIL"
설정된 user.name, user.email이 있을 때, 삭제 후 설정 진행
설정된 계정 삭제
git config --unset --global user.name
git config --unset --global user.email
git config --unset user.name
git config --unset user.email
git status
git add.
git reset 파일명