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

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

prompt every time username and password when run git command

I have already set the password for the app on my bitbucket account. Prompt me each and every time when executing git push, git pull, git clone, etc. 

When I am using the same command from VScode prompt remote: Invalid username or password.

Please suggest a solution.

1 answer

1 vote

Git does not have any built in sessions that would persist a password.

To avoid password prompts when pushing/pulling from the command line you can use SSH w/ keypair authentication or a Git Credential Manager


For VS Code you could also use our extension that handles this with OAuth dance between VSCode and BB to then allow push/pull.

Suggest an answer

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

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,735 views 10 16
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