带有git-lfs的git可以在没有git-lfs的情况下将`lfs`推送到git吗? [英] Can git with git-lfs push `lfs` to git without git-lfs?
问题描述
dev pc
是centos 7
,带有git 1.8.3.1
,git-lfs/2.4.2
.我使用git-lfs跟踪*.png
.
production server 192.168.56.112
是带有git 1.8.3.1
的centos 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 master
从dev pc
到production 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屋!