//-------------------------------
// git 쪽에 저장된 사용자 초기화 및 재설정
//-------------------------------
명령어 긁어서 한번에 실행
▽▽▽▽▽▽▽▽▽▽▽▽▽▽▽▽▽
#// .git 폴더 속의 계정정보 삭제
git config --local --unset credential.helper
#// 전역 계정정보 삭제 (서버에서 git 설정시 이걸로 설정하지 마라!!)
git config --global --unset credential.helper
#// 시스템쪽 계정정보 삭제 (서버에서 git 설정시 이걸로 설정하지 마라!!)
git config --system --unset credential.helper
#// 저장된 user 정보 삭제
git config --local --unset user.name
git config --local --unset user.email
git config --global --unset user.name
git config --global --unset user.email
git config --system --unset user.name
git config --system --unset user.email
#// .git 폴더 속으로 계정정보 저장
git config --local credential.helper store
#// 상태 확인 => store 로 나와야함
git config --get credential.helper
#// 새로 유저 설정
git config --local user.name "AACC"
git config --local user.email "AA@BB.com"
#//비밀번호저장소 삭제
rm -f ~/.git-credentials
△△△△△△△△△△△△△△△△△
#// 설정확인
git config --local -l
git config -l
윈도우의 경우
=> 제어판\사용자 계정 및 가족 보호\자격 증명 관리자\WIndows 자격 증명\일반 자격 증명
-> 위 위치에서 대상 자격증명 삭제.
git config --global credential.helper wincred //윈도우 지원 자격증명에 저장
맥의 경우