Support private bitbucket repositories
Given https://bitbucket.org/robertfausk/myrepo is a private bitbucket repository and I want to add it with redmine_git_remote.
Usage of clone URL [email protected]:robertfausk/myrepo.git is not working when project is private.
Flash message "Clone URL [email protected]:robertfausk/myrepo.git is not a valid remote." raises.
Usage of clone URL https://[email protected]/robertfausk/myrepo.git is not working when project is private.
Flash message "Clone URL https://[email protected]/robertfausk/myrepo.git is not a valid remote." raises. I suspect it's because of he tries to use user robertfausk but I only have enabled a access key in bitbucket config and enabled this one on my server for redmine user.
Perhaps it is enough to support [email protected]:xxx/yyy.git as repository format cause when I execute git clone [email protected]:xxx/yyy.git on my redmine server as redmine user it is working fine.