GitHup 突破文件100M限制

来源:互联网 发布:聚合数据接口开发教程 编辑:程序博客网 时间:2024/05/21 10:38
  1. Download and install the Git command line extension. You only have to set up Git LFS once.

    git lfs install
  2. Select the file types you'd like Git LFS to manage (or directly edit your .gitattributes). You can configure additional file extensions at anytime.

    git lfs track "*.psd"

    Make sure .gitattributes is tracked

    git add .gitattributes
  3. There is no step three. Just commit and push to GitHub as you normally would.

    git add file.psdgit commit -m "Add design file"git push origin master
https://git-lfs.github.com/
原创粉丝点击