예지의 개발 로그포스 (Yeji's Log Force)

Github Desktop으로 대용량 파일 업로드하기(git lfs) 본문

카테고리 없음

Github Desktop으로 대용량 파일 업로드하기(git lfs)

Yeji Heo 2022. 7. 14. 12:56

1. git lfs 설치
https://git-lfs.github.com/

 

Git Large File Storage

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

git-lfs.github.com

 

2. cmd에서 원하는 레파지토리로 이동

C:\Users\user>cd 레파지토리 경로

3. git lfs install

$ git lfs install


4. 추적할 파일 선택

$ git lfs track "파일타입"

"*", "*.zip", "*.cvs" 등을 넣어주면 됨

5. git add .gitattributes

$ git add .gitattributes

6. 평소 하던대로 커밋 푸시 하면 됨

Comments