How to use App Password in bitbucket for Git?

From 1st March 2022 App Password is required to access your git repository.

1st step is to configure App password in bit-bucket

  1. Login to your bitbucket account
  2. Click to your profile and settings option
  3. then click on app password section

then click on create app password section, you will be prompted to

Add an application name like git and give the permission set for git. It will give you a 16 digit app password. Save it for future use.

Then go to your work directory where you maintain your git. Then refresh your git repo.

type :

git remote set-url origin https://username:<AppPassword><Your Repo Name>

rest of it is the same as the previous commands are.


Leave a Reply

Your email address will not be published. Required fields are marked *