AI 공부하는 도비

대학원생이 AI, NLP등을 공부합니다

코딩

[Git 명령어] Git 설정하기

공부하는 도비 2020. 7. 18. 19:57

*GitHub ID/PW 캐시데이터 삭제(삭제시 문제없음)

: 다른 GitHub 계정과의 충돌방지

$ git config --global --unset credential.helper

$ git config --system --unset credential.helper

 

*차후 commit의 저자(author)정보

$ git config --global user.email "GitHub계정email"

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

 

*commit message를 수정할 기본 편집기 설정

: vim, nano, notepad 등 원하는 편집기로 설정가능

$ git config --global core.editor nano

 

*nano 편집기 사용시 설치 필요

$sudo apt install -y nano

 

*Git 설정내용 확인하기

$ git config --list