Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

prompt every time username and password when run git command

Anuj.pankaj
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 4, 2021

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
Eddie Webbinaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2021

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
AUG Leaders

Atlassian Community Events