Apply App password to TortoiseGit application
Asked by dstitt:

Where is the app password applied within the TortoiseGit application?


Answers:
author: Caroline R
body: Hi, [@dstitt](/t5/user/viewprofilepage/user-id/1783688)!

Thank you for reaching out to Atlassian Community!

I found this link from the official site of TortoiseGit:

* <https://tortoisegit.org/support/faq/#howremembercredentials>

and their doc has as an answer this StackOverflow thread:

* <https://stackoverflow.com/questions/14000173/tortoisegit-save-user-authentication-credentials>

Also, in case you would like to read more about the App password, you can access the following Bitbucket doc:

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

I hope this helps, but please let me know if you have any other questions about this subject.

Kind regards,  
Caroline

comments: author: paulrainbow
body: Thanks Caroline,

The StackOverflow thread gives many solutions. With many comments on some working and others not for users.

Any chance of creating a step by step guide for us? I can't seem to work out where to start.

Cheers,

Paul


author: Caroline R
body: Hi, Paul.

This GUI client is not developed by Atlassian, so we're not aware of all options related to authentication and also if there are differences in different versions of the product. Such a manual/guide would need to be created by TortoiseGit who has developed this product. In case you would like to contact TortoiseGit support, you can access this page: <https://tortoisegit.org/support/>

Kind regards,  
Caroline


author: paulrainbow
body: Hi Caroline,

I worked out the way it works now.

The trick I didn't work out is that I use my same username as my normal BitBucket username, and then use App Password, instead of the normal login password.

I am not getting the warning message after the Push/Pull so I assume I have done it correctly.

**Step A: Settings \> Saved Data \> Clear the Authentication data.**

![ClearCache.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/180624i967CA39ABEAD082A/image-size/large?v=v2&px=999 "ClearCache.jpg")

**Step B : Remove Old Password under Remote URL (if entered)**

![RemoveOldPassword.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/180903i4365DD3C3A2A5484/image-size/large?v=v2&px=999 "RemoveOldPassword.jpg")

**Step C : Setup new Credential**

1. Select Git \> Credential \> Select "G" for Global

2. Enter your BitBucket Repository URL

3. Enter your normal BitBucket username

4. Select Apply

![AddCredentials.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/180628iCF388281540FB7D3/image-size/large?v=v2&px=999 "AddCredentials.jpg")

**Step D : Then when you Push/Pull**

Enter your "App Password" which you have generated from BitBucket from the link

* <https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/>

![EnterAppPassword.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/180627i92CD0024A0CAC355/image-size/large?v=v2&px=999 "EnterAppPassword.jpg")

I hope that helps others.


author: Reiner Gombert
body: Hi Paul,

I followed the steps and it worked. Many thanks.

I have some little remarks:

Step B: In the balloon: Shouldn't the "userid" be removed, instead of the "password" ?

Step C: The selection of the helper (3) is not contained in the text. Following "Apply" is number 5 in the picture and number 4 in the text.

Kind Regards,

Reiner


author: Aren Cambre
body: Thank you. While I got this to work, my experience differed from [@paulrainbow](/t5/user/viewprofilepage/user-id/4722911) 's instructions:

* In settings, there is no **Git** \> **Remote**, so I can't do step B.
* In step C, when hitting apply, I get an error. In the end, the error did not matter.
* In step D, after you enter the app password, TortoiseGit will require you to go to a web page and authorize access.


author: Anthony Hall
body: Thank you, it worked for me, after getting the app password.

Had to make sure the correct username was selected.


author: toninhonunes
body: Thank you Paul for share. It's help me so much.


Tags: bitbucket-cloud

cloud