带有git-lfs的git可以在没有git-lfs的情况下将`lfs`推送到git吗? [英] Can git with git-lfs push `lfs` to git without git-lfs?

查看:96
本文介绍了带有git-lfs的git可以在没有git-lfs的情况下将`lfs`推送到git吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

dev pccentos 7,带有git 1.8.3.1git-lfs/2.4.2.我使用git-lfs跟踪*.png.
production server 192.168.56.112是带有git 1.8.3.1centos 7,没有git-lfs.

dev pc is centos 7,with git 1.8.3.1,git-lfs/2.4.2.I use git-lfs to track *.png.
production server 192.168.56.112 is centos 7 with git 1.8.3.1,without git-lfs.

当我git push production masterdev pcproduction server裸仓库时,我在production server中找不到任何.png文件.

When I git push production master from dev pc to production server bare repo, I cannot find any .png file in production server.

我不确定git with git-lfs是否可以将.png文件传输到git without git-lfs吗?

I am not sure whether git with git-lfs can transfer .png files to git without git-lfs?

提前谢谢!

推荐答案

LFS一起,可能没有.png文件,以...

with LFS there probably are no .png files, to begin with ...

Git大文件存储(LFS)用Git内部的文本指针替换了大文件,例如音频样本,视频,数据集和图形,同时将文件内容存储在GitHub.com或GitHub Enterprise等远程服务器上.

Git Large File Storage (LFS) replaces large files such as audio samples, videos, datasets, and graphics with text pointers inside Git, while storing the file contents on a remote server like GitHub.com or GitHub Enterprise.

这篇关于带有git-lfs的git可以在没有git-lfs的情况下将`lfs`推送到git吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆