Hi @Sagar Veerla,
welcome to the Atlassian Community.
One way to clone a repository without having to enter your password would be to create an app-password and use it while cloning.
git clone https://<user>:<app-password>@bitbucket.org/workspace/repository.git
That done, git won't prompt for user name and password.
Mind that this is a URL and needs to be encoded as an URL then.
This will leave the password in the git configuration. Alternative options are git credentials helper and SSH.
@Viduranga Yes, but no idea what you're asking for specifically: As this is within the git clone <repo>
, you can make it specific at least per any of such URI - which could be per repository.
For a specific repository in and on itself, consider to configure it (e.g. git-config(1)).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sagar Veerla,
Welcome to Atlassian Community.
The only way you can clone a repository without having to enter your password would be to make the repository public, then a password is not required. But note that you would not be able to push anything back to Bitbucket without entering a password/using SSH.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.