Skip to content

Instantly share code, notes, and snippets.

@480
Last active September 19, 2024 11:45
Show Gist options
  • Save 480/4681b67d2a906db8c6c1321cc678f05f to your computer and use it in GitHub Desktop.
Save 480/4681b67d2a906db8c6c1321cc678f05f to your computer and use it in GitHub Desktop.
github 리모트 리포지토리 변경하기

깃 리모트 변경 하기

기존 리포지토리 깔끔하게 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/계정/리포지토리

@lchyun23
Copy link

감사합니다!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment