How can i download a private repository automatically?

rafaelg June 1, 2020

This is the command that i'm using to download a repository.

git clone git@bitbucket.org:xxx/appveyor_scripts.git

but it asks for a username and password, and i have to enter it manually.

i need to be able to download the repository automatically without any user intervention, how can i achieve this?

1 answer

0 votes
mjenkins65 September 23, 2021

If you take a look at the git documentation, you can store your credentials locally and they will automatically be used when you make the clone call.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events