I can\'t get reset to work properly in JGit.Ie. i can add all files to the index, and i can remove/reset/unstage some of them from the index via开发者_如何学JAVA the command below but it doesn\'t work
I\'ve managed to get to grips with the basics of jGit file in terms of connecting to a repos and adding, commiting, and even looping of the commit messages for the files.
I figured out how to do a lot of things in the JGit library, such as commit files, find out the status of all files (ie. changed, modified, untracked etc), but i can\'t figure out how to unstage files
Is there a way to programmatically download a single file from a remote git repository, in Java? I prefer a solution which uses as little bandwidth as possible, preferably only downloading that sing
A while back I was looking for an embeddable distributed version control system in Java, and I think I have found it in JGit, which is a pure Java implementation 开发者_开发百科of git.