Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Git-Duckfin/0baa9f2eb0a0da1e49dd7c0dd449b62b to your computer and use it in GitHub Desktop.
Save Git-Duckfin/0baa9f2eb0a0da1e49dd7c0dd449b62b 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/계정/리포지토리

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