如何在Eclipse中激活LFS支持按钮?

huangapple go评论77阅读模式
英文:

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未启用/激活。以下是截图:

如何在Eclipse中激活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;

如何在Eclipse中激活LFS支持按钮?

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.

huangapple
  • 本文由 发表于 2020年8月3日 19:34:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/63228688.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定