How to access bitbucket using app password

Since the question was “how do I access the repository” – maybe this is useful for somebody:
You can also use a Bitbucket “App Password” to use Git over HTTPS.

git clone https://USERNAME:APP_PASSWORD@bitbucket.org/OWNER/REPO.git

(Or, if you want to avoid storing the password in plaintext:
Omit :APP_PASSWORD in the URL above, and just provide the App Password when prompted by Git.)

This may be useful for CI (although Git over SSH might be better).

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)