Top "Jgit" questions

JGit is an EDL (new-style BSD) licensed, lightweight, pure Java library implementing the Git version control system.

JGit and finding the Head

I'm trying to get my hands on the HEAD commit with JGit: val builder = new FileRepositoryBuilder() val repo = builder.setGitDir(…

java git scala jgit
eclipse: "re-indexing repository workspace" or "Computing Git status for repository workspace"

I am using eclipse Juno, and yesterday I noticed my computer was getting very hot. I checked the CPU usage …

eclipse git cpu-usage egit jgit
How to show changes between commits with JGit

I am trying to show a git diff between two commits for a file. Basically, I did it as in …

java jgit
Git fetch failing using jgit: Remote does not have <branchname> available for fetch

I have a bare repo located at main.git and am trying to fetch a branch (foo, let's say) in …

java git version-control jgit git-fetch
JGit create new local branch and push to remote (branch does not exist on remote)

I'm working on an ANT task that calls some java that uses JGit to create a new branch on a …

java git git-branch jgit git-checkout
Getting all branches with JGit

How can I get all branches in a repository with JGit? Let's take an example repository. As we can see, …

java git github jgit
Egit is installed (came with Juno), but does not show at all

I want to use GIT in eclipse, and preferably EGit, for it's support from the eclipse community itself. However, despite …

eclipse-plugin egit eclipse-juno jgit
How do you set the configuration for jschconfigsessionfactory for jgit so that pull and push work?

I am trying to do a git pull/push using jgit's api with the following code org.eclipse.jgit.api.…

java jsch jgit
How to get the file list for a commit with JGit

I have been working on a Java based product for which the Git features are going to be integrated. Using …

java jgit
How to merge in JGit?

How do I merge in JGit? Let's say I want to merge master with foo branch, how do I do …

java git jgit