Forums

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

How to authenticate on command line?

nutmix February 23, 2025

bitbucket gives lots of info how to push your local git repo using git commands, but none of these instructions work because they ask for a password, and the website (atlassian) account password does not work for some reason.

Where does the required password come from, and why does this info not exist in the pages on how to upload your code?

1 answer

1 accepted

2 votes
Answer accepted
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2025

Hi @nutmix,

Your account's password can be used only for logging in to the website from browser. For Git operations and API calls with Basic authentication over HTPPS, you'll need to use an app password for your account. You can generate it from this page:

If you use it to only clone, pull, and push to Bitbucket repos, then Repositories - Read and Repositories - Write permissions are enough.

Our documentation below on pushing code references the use of app passwords:

Could you please share the URL of page you were reading? If it is unclear or if it's missing info, I can ask the documentation team to update it.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events