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 = 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?


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


Back to the top