Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] Apply help:questions about jgit checkout problem

Hi Thomas

I also met another problem, steps as:
1) git clone some repo locally by shell, default branch is master
2) Get git object by : git = Git.open(new File(codePath));
3)git.checkout().setName(commitId).call(); commitId is another branch ,but master, but i got an exception as branch resolve issue

Checkout failed, which means I coun't use check with three steps above.
Do you know why? or anybody knows why?


Thanks







At 2022-04-08 16:29:13, "Thomas Wolf" <thomas.wolf@xxxxxxxxxx> wrote: >On 08.04.22 04:55 , 李津京 wrote: >> Is it ok from HTTPS to HTTPS or from HTTP to HTTP ? > >Yes. > >Cheers, > > Thomas >_______________________________________________ >jgit-dev mailing list >jgit-dev@xxxxxxxxxxx >To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jgit-dev


 


Back to the top