|jGit FetchCommand [message #912905]
||Fri, 14 September 2012 11:34
| R J
Registered: August 2012
I understand the concept of Git fetch. I would like to fetch objects through the FetchCommand class.
I have a main repository. For example: C:\jGit\.git.
I have cloned this repository. For example C:\jGitClone\.git.
Using the jGit API I have a Git class:
Git git = new Git(repository); // this is the main repository.
How would I set the cloned repository so when the fetch is called it knows to fetch into the cloned repository.
I have looked on some websites but still stuck.
[Updated on: Fri, 14 September 2012 11:35]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.04000 seconds