Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

git clone without password prompt

I want to git clone a repo without being prompted by a password, a method other than SSH.

I would like to clone a repo in a single line.

2 answers

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.

0 votes
Mikael Sandberg Community Leader Jun 24, 2020

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

441 views 4 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you