![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FcHFpge%2FbtqCcVunx1Y%2Fieg750mwQFMRqAiSDlQvgk%2Fimg.png)
우선 git remote -v 명령을 사용하여 현재의 원격 저장소 URL을 확인합니다. $ git remote -v # View existing remotes origin ssh://git-repo@example.com/repo.git (fetch) origin ssh://git-repo@example.com/repo.git (push) 기존 원격 저장소 URL을 변경은 git remote set-url 명령어를 사용합니다.명령어에는 두개의 파라메터를 넣어줍니다. 기존 원격 저장소 이름: origin 변경할 원격 저장소 URL : ssh://git-repo@example.com:1022/repo.git $ git remote set-url origin ssh://git-repo@example.com:10..