Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » Getting started with LFS in JGit(I am interested in a sort of tutorial about how to get started with LFS in JGit)
Getting started with LFS in JGit [message #1834026] Fri, 30 October 2020 13:23
Sorin Carbunaru is currently offline Sorin CarbunaruFriend
Messages: 3
Registered: July 2015
Junior Member
I have been working quite a lot with Git and JGit in the recent years. We have actually developed a basic Git UI client based on the JGit API.

I know that JGit has some support for LFS, but I don't know how to get started. Note that I am an absolute beginner when it comes to LFS...

The first thing I did was to add the Maven dependency to our project:

<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit.lfs</artifactId>
<version>5.9.0.202009080501-r</version>
</dependency>

Now, the question is: how do I proceed?...

1. Do I need to install Git LFS separately, or does JGit work as SourceTree apparently does, without installing LFS, because it comes with built-in LFS support?
2. Do I need to implement or use some JGit API to enable LFS?
3. Can I track certain files using LFS?

By the way, is there any documentation/tutorial about how to use LFS with JGit? I personally didn't find something like this...

Best wishes,
Sorin C.
Previous Topic:How to create Pull request directly using Jgit
Next Topic:Label Decoration/Text Decoration
Goto Forum:
  


Current Time: Tue Jun 15 14:11:01 GMT 2021

Powered by FUDForum. Page generated in 0.02498 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top