[GitHub]GitHub remote origin 수정 방법

길현민·2022년 8월 24일
0

Git&GitHub

목록 보기
7/8

현재 연결된 주소를 확인.

git remote -v

결과

origin https://github.com/user/저장소주소.git (fetch)
origin https://github.com/user/저장소주소.git (push)

기존의 origin 제거

git remote remove origin

새 origin 추가

git remote add origin https://github.com/계정/저장소주소.git

commit, push origin master하면 잘 실행됩니다

🐔참고문헌

위코드

profile
맛집탐방러

0개의 댓글