본문 바로가기

Git

[Github] 정리 01

01. 저장소 이름 변경 

settings > Repository name

저장소 이름 변경 시, URL 도 변경해주어야 한다.

02. 저장소 URL 변경

git remote -v (현재 URL 확인)

git remote set-url origin https://github...(바꿀 URL 주소)

03. user name email 변경

git config user.name (현재 유저 네임 확인)

git config user.email (현재 유저 메일 확인)

git config --global user.name your name (바꿀 유저 네임 입력)

git config --global user.email your email (바꿀 유저 메일 입력)

04. remote permission to ~ denied to ~ 오류

최조 글로벌 유저 > 다른 유저로 변경 후 저장소 업로드시 발생

윈도우 > 자격증명편집 > git 사용자 아이디 비밀번호 변경

맥 > 키체인 > 깃허브 > git 사용자 아이디 변경

 

 

'Git' 카테고리의 다른 글

[Github] VScode - Git log - Git History  (0) 2020.01.04
[Github] 정리 02  (0) 2019.12.23