git lfs的使用

来源:互联网 发布:近几年海外代购数据 编辑:程序博客网 时间:2024/06/09 23:40
* git lfs env:    Display the Git LFS environment.* git lfs checkout:    Populate working copy with real content from Git LFS files* git lfs clone:    Efficiently clone a Git LFS-enabled repository* git lfs fetch:    Download git LFS files from a remote* git lfs fsck:    Check GIT LFS files for consistency.* git lfs install:    Install Git LFS configuration.* git lfs logs:    Show errors from the git-lfs command.* git lfs ls-files:    Show information about Git LFS files in the index and working tree.* git lfs pull:    Fetch LFS changes from the remote & checkout any required working tree files* git lfs push:    Push queued large files to the Git LFS endpoint.* git lfs status:    Show the status of Git LFS files in the working tree.* git lfs track:    View or add Git LFS paths to Git attributes.* git lfs untrack:    Remove Git LFS paths from Git Attributes.* git lfs update:    Update Git hooks for the current Git repository.* git lfs version:    Report the version number.Low level commands -------------------* git lfs clean:    Git clean filter that converts large files to pointers.* git lfs pointer:    Build and compare pointers.* git lfs pre-push:    Git pre-push hook implementation.* git lfs smudge:    Git smudge filter that converts pointer in blobs to the actual content.
  • 全局打开支持 git lfs
git lfs install
  • repo里面开始跟踪
cd $yourrepogit lfs track "*.zip"git add *.zipgit commit -m "something "git push -u origin --all

这里写图片描述

    *
0 0
原创粉丝点击