잠토의 잠망경

[GitHub] GitHub 대용량 File upload 본문

공부

[GitHub] GitHub 대용량 File upload

잠수함토끼 2020. 2. 3. 21:30

git을 사용하다 보면 대용량 file upload가 필요하다.

 

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. 대상 git으로 이동해서 console 실행

$ git lfs install

 

3. 관리 대상 file 종류를 선택해준다.

$ git lfs track "*.csv"
$ git add .gitattributes

 

4. commit 진행

 

 

5. push 진행(desktop github)

https://desktop.github.com/

 

GitHub Desktop

Simple collaboration from your desktop

desktop.github.com

 

해당 tool로 진행했을때 정상적으로 upload가능했음(certificate issue) 있었음

Comments