Git

remote origin already exists. 에러 뜰때 해결방법

Developer-Michelle 2022. 4. 26. 13:33

https://donggu1105.tistory.com/10

 

[Git] fatal: remote origin already exists. 에러 뜰때 해결방법

github에 터미널을 이용해서 프로젝트 올릴때  fatal: remote origin already exists. 에러가 뜬다면 원래있던 remote를 삭제하고 다시 add시켜준다. $ git remote rm origin 그다음 git remote add origin ~~ 하..

donggu1105.tistory.com

 

remote origin already exists. 에러가 뜬다면 원래있던 remote를 삭제하고 다시 add시켜준다.

git remote rm origin

그다음 git remote add origin ~~ 주소 복붙 하면 해결

'Git' 카테고리의 다른 글

여러 repositories 하나로 합치기  (0) 2023.02.03
[Mac] 맥 사용하여 터미널로 깃허브에 올리기  (0) 2022.04.22