lin1

向github上面提交代码,提示代码里面有大文件,建议使用git-lfs.

 

1,安装git-lfs

yum install git-lfs

 

2,配置需要追踪的打文件(由于我这里提交的是jar包)

git lfs track "*.jar"

3,git添加属性

git add .gitattributes

4,提交

git commit -m \'add .gitattributes\'

 

5,push 

git push

  

 

后续就使用git可以传送大文件 

分类:

技术点:

相关文章: