ubuntu20.04 安装 Git LFS
EXAMPLESTo get started with Git LFS, the following commands can be used.1.Setup Git LFS on your system. You only have todothisonceper
repository per machine:
git lfs install
2.Choosethetypeof files you want to track, for examples all ISO
images, with git-lfs-track(1):
git lfs track "*.iso"
3.The above stores this informationingitattributes(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
http://blog.itpub.net/70003733/viewspace-2907385/
页:
[1]