Git LFS

GitHub:https://github.com/git-lfs/git-lfs

官方网站:https://git-lfs.github.com/

install

二进制软件包在官网自行下载,之后执行

1
$ git lfs install

此命令只需执行一次。

跟踪文件

1
2
3
4
5
6
$ git lfs track "design-resources/design.psd"

$ git lfs track "*.png"

# list
$ git lfs track

推送

像往常那样推送就行!

1
2
3
4
5
$ git add .

$ git commit -m "commit message"

$ git push origin master

clone

1
$ git lfs clone url

More Information

0%