Thread (3 messages) flat view 3 messages, 2 authors, 2016-06-15

Re: JGIT newbie question

From: sundarbun <hidden>
Date: 2016-06-15 22:50:22

Thanks Shawn.. I did look at the jGit list and I will post there as well.
quoted
But if you want to avoid using the working directory
Not sure what this means.. perhaps I have to read up some more...

I got as far as what you have suggested with the Git object in the 
org.eclipse.jgit.api jar.

Where I got stumped was the specification of the userid/pwd/repo path
parameters that tells git when I init it (as I run on an aws machine with no
.git directory initially) to setup shop in a temp working directory that I
specify in the init. 

I was hoping to have an init command that I could pass a valid git repo url,
a user name and pwd and local fileDir so that a .git would be created and
then I can call checkout to get the part of the tree that I am interested
in.

If you have any insight.. I'd appreciate your comments.

thanks again.
S

-- 
View this message in context: http://git.661346.n2.nabble.com/JGIT-newbie-question-tp5911913p5912619.html
Sent from the git mailing list archive at Nabble.com.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help