|Re: [jgit-dev] Apply help：questions about jgit redirect problem|
There is an unified proxy here.
At 2022-04-07 17:37:46, "李津京" <lijinjing123@xxxxxxx> wrote:
Hi allThe JDK version I use is 1.8 and 12, I want to clone repository from our company codes repo.The function I use is as below, the git username and password are correct, which I could use by "git clone https://username:email@example.com/baidu/***/***"But when I run the code, it gives back an exception as:2022-04-07 16:28:07,200 INFO ExceptionAdvice:46 - ,服务业务异常,20005,https://username@xxxxxxxxxxxxxxx/baidu/***/***: Redirection blocked: redirect https://username@xxxxxxxxxxxxxxx/baidu/***/***/ -> http://icode.baidu.com?service=git-upload-pack not allowedI‘ve search online found that jgit already supports redirection in 1.8 at least, but which exception confused me a lot, I want to use Jgit package to clone locally.And I want to ask a help, thanksMelessaThanks alot
Back to the top