阅读:5621回复:1

batch request: bash: git-lfs-authenticate: command not found

楼主#
更多 发布于:2021-07-31 10:07
最近搭mstar repo,遇到不少滔阱,其中一些可以拿出来分享


报错如下:
Remote "origin" does not support the LFS locking API. Consider disabling it with:
  $ git config lfs.https://192.168.1.108//home/git/mt9255/./vendor/mediatek/proprietary_tv/open/hardware/libopenglhw/maxim.git/info/lfs.locksverify false


Git LFS: (0 of 4 files) 0 B / 130.55 MB                                        
batch request: bash: git-lfs-authenticate: command not found: exit status 127
error: failed to push some refs to 'git@192.168.1.108:/home/git/mt9255/./vendor/mediatek/proprietary_tv/open/hardware/libopenglhw/maxim'


字面意思是找不到命令:git-lfs-authenticate
LFS: large file storage,如果单个文件超100MB就要用LFS了
原因:git fls当前不支持纯基于ssh的通信协议

解决办法:
先确认当前仓库有没有大于100M文件:find . -size +100MB,如果有,换其它git 工具,如果没有,看下面


rm .authenticate
然后push success

最新喜欢:

zhaoyf13zhaoyf... VastStarGamesVastSt...
沙发#
发布于:2021-08-09 08:56
强强强
If you have nothing to lose, then you can do anything.
游客

返回顶部