git pull
git add .
git commit -m "clean push"
git push
git remote remove origin
git remote add origin https://github.com/계정/리포지토리
감사합니다~!!!!!!!
우연히 보게 되어 댓글 남겨봅니다.
삭제/추가 하지 않고, 아래와 같은 방식으로도 변경 가능합니다.
git remote set-url origin https://github.com/username/reponame
감사합니다!
감사합니다!!