투케이2K

55. (Bitbucket/Git) [에러 해결] git add 이슈 - error: unable to create file ... Filename too long 본문

비트버킷 & Git

55. (Bitbucket/Git) [에러 해결] git add 이슈 - error: unable to create file ... Filename too long

투케이2K 2024. 2. 5. 19:15
반응형

[환경 설정]

저장소 : Bitbucket / Git

사용 목적 : 소스 코드 버전 관리 실시

 

[에러 원인]

1. 윈도우 PC 에서 API의 파일 경로 길이가 260 자 제한으로 인해서 발생하는 이슈

 

[해결 방법]

1. git core longpaths 설정 true 지정 수행 (260 자 제한 해제)

>> $ git config --system core.longpaths true


 

반응형
Comments