git - Using JGit to try to access stash repository. Dont know what credentials to provide -



git - Using JGit to try to access stash repository. Dont know what credentials to provide -

i using jgit call

clonerepository().seturi().setdirectory().setcredentialsprovider().call();

i using usernamepasswordcredentialsprovider() seek provide info stash needs getting error says unsupportedcredentialitem. wondering if knows stash needs in order perform git clone through jgit.

thanks help

you can utilize http protocol , pass in username /password.

in case want utilize ssh protocol, create sure have ssh keys stored in stash userid. in case , stash authentication behind scenes , not need provide username/password

git credentials jgit atlassian-stash

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -