📗 깃과 깃 허브 Git & GitHub

[간단] 깃허브 원격저장소 변경하는 법

Meteora_ 2021. 6. 28. 11:36
728x90

깃 리모트 변경 하기

 

기존 리포지토리 깔끔하게 pull / push

git pull git add . git commit -m "clean push" git push

기존 리포지토리 remote 제거

git remote remove origin

새 리포지토리 remote 추가

git remote add origin https://github.com/계정/리포지토리