[디버그] git clone 할 때 fatal destination path 오류가 뜬다면

2023. 10. 16. 23:15디버그

git clone path_to_git_repo .
fatal: destination path '.' already exists and is not an empty directory.

 

첫 번째 줄로 git clone을 했을때 두 번째 줄과 같이  에러가 뜬다면 그 폴더에 있는 파일을 없애고 빈 디렉토리임을 확실히 하고 재시도해보자 .git이 있을수도 있고 그러면 마찬가지로 이 에러가 뜨면서 안된다.