IT story

github에서 repo의 이름이 바뀌는 오류가 발생했습니다.“원격 :이 저장소가 이동했습니다.

hot-time 2020. 6. 13. 09:44
반응형

github에서 repo의 이름이 바뀌는 오류가 발생했습니다.“원격 :이 저장소가 이동했습니다. 새로운 위치를 사용하십시오”


이 알림을 받고 있습니다 : remote: This repository moved. Please use the new location [new location]로컬 인스턴스에서 GitHub의 원격 마스터로 업데이트를 푸시 할 때.

이 문제를 해결하는 방법이 있습니까?


간단한 방법은 다음과 같습니다.

 git remote set-url origin [updated link url https://........git]

또는 먼 길을 좋아한다면 다음과 같습니다.

 git remote rm origin
 git remote add origin [updated link]

리모트의 URL github 문서 변경에 대한 자세한 내용이 있습니다.


현재 것을 확인하려면 :

  git remote -v

그런 다음 변경하십시오.

  git remote set-url origin https://github.com/YOUR-USERNAME/YOUR-REPO.git

참고 URL : https://stackoverflow.com/questions/30443333/error-with-renamed-repo-in-github-remote-this-repository-moved-please-use-th

반응형