评论

收藏

[Linux] ubuntu20.04 安装 Git LFS

服务系统 服务系统 发布于:2022-07-25 15:09 | 阅读数:485 | 评论:0

EXAMPLESTo get started with Git LFS, the following commands can be used.
1.  Setup Git LFS on your system. You only have to  do  this  once  per
repository per machine:
git lfs install
2.  Choose  the  type  of files you want to track, for examples all ISO
images, with git-lfs-track(1):
git lfs track "*.iso"
3.  The above stores this information  in  gitattributes(5)  files,  so
that file need to be added to the repository:
git add .gitattributes
4.  Commit, push and work with the files normally:
git add file.iso
git commit -m "Add disk image"
git push

关注下面的标签,发现更多相似文章