증상
git remote add orgin <url> 명령어가 동작이 안되었다.
에러 메시지
error: remote origin already exists.
해결
git remote rm origin 을 하면 기존의 remote 의 origin을 삭제할 수 있다.
'Git' 카테고리의 다른 글
[Git] 프로젝트를 새로 시작하려는데 브랜치가 보이는 경우 (0) | 2022.02.26 |
---|---|
[Git] 커밋 메시지 작성법 (0) | 2022.02.23 |
[Git] git push 에러 fatal: The current branch main has no upstream branch. (0) | 2022.02.22 |
[Git] git 최초설정, 사용자 이름과 이메일 입력하기 git config (0) | 2022.02.22 |
[Git] git init, git status (0) | 2022.02.22 |