|[JGit] First time checkout [message #580771]
||Mon, 31 May 2010 03:05
Registered: May 2010
Trying to discover the ability of checkout files from remote repository to local folder using JGit.
I got stuck after repository creation.
Repository repo = new Repository(new File("C:\\git\\new"));
RepositoryConfig config = repo.getConfig();
config.setString("remote", "origin", "url", "http://www.kernel.org/pub/scm/git/git.git");
My understanding is I should somehow get a Tree object but all attempts failed.
Any examples appriciated.
Powered by FUDForum
. Page generated in 0.01626 seconds