英文:
How to activate LFS Support button in Eclipse?
问题
我在我的Windows 8.1 x64 PC上运行Eclipse 2019-06(4.12.0)。我已经下载了Git 2.28.0便携包,并将bin
文件夹的位置添加到PATH
环境变量中。当我在命令提示符中输入git时,它可以正常工作。此外,我还下载了git lfs包,并将其复制到Git的同一bin文件夹中。我对其进行了初始化,我的全局.gitconfig
现在如下所示:
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
我已经检查了我的本地存储库中的LFS支持,并发现它可以正常工作。但是,当我打开Eclipse并转到Git配置(窗口 > 首选项 > 团队 > Git)时,它显示LFS未启用/激活。以下是截图:
我想要激活这个功能。我应该如何做?
英文:
I am running Eclipse 2019-06 (4.12.0) in my Windows 8.1 x64 PC. I have downloaded Git 2.28.0 portable package and included the location till bin
in the PATH
environment variable. When I type git in cmd, it is working fine. Also, I have downloaded git lfs package, and copied it to the same bin folder of Git. I initialized it and my global .gitconfig
now looks like below;
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
I have checked LFS support in my local repository, and found that its working fine. But, When I open eclipse and go to Git configuration (Window > Preferences > Team > Git), it is showing that LFS is not enabled / active. Below is the screenshot;
I would like to activate this feature. How can I do this?
答案1
得分: 2
你需要安装JGit的LFS支持:
在帮助 > 安装新软件... 中使用https://download.eclipse.org/egit/updates
,然后安装Java实现的Git - 可选的LFS支持。
英文:
You have to install JGit's LFS support:
In Help > Install New Software... work with https://download.eclipse.org/egit/updates
and install Java implementation of Git - optional LFS support.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论