본문 바로가기
Git | Github

[Git]원격저장소 -> 로컬저장소 clone || pull 오류 해결 --스크랩

by hans-j 2023. 9. 20.

clone 시 

 

fatal: destination path '프로젝트명' already exists and is not an empty directory.

 

라고 뜨면

 

https://nagneo.tistory.com/18

 

[Git] 비어있지 않은 로컬 저장소로 Clone하기

보통 새로운 프로젝트를 만들 때, Github에 repository를 만들고 해장 저장소를 Clone 해서 사용한다. 오늘은 반대로 로컬 저장소에 폴더 및 파일을 만들고 이를 원격 저장소와 연결하는 절차를 정리하

nagneo.tistory.com

위의 블로그 참고,

 


 

혹은 로컬 폴더내에서  로컬 저장소를 pull하려고 할 때

 Remote origin already exists

오류가 뜬다면 

 

https://coding-factory.tistory.com/619

 

[Git] Git Remote origin already exists 에러해결 remote origin 삭제

깃의 Remote origin already exists 에러는 기존에 연결되어 있는 레파지토리가 다시 새로운 레파지토리에 소스코드를 올리려고 하면 발생되는 에러입니다. 해결방법은 간단합니다. 위와 같이 원격 저

coding-factory.tistory.com

위의 블로그 참고하기