My desktop was previously used by the previous employee at my office. In source tree
I have my account logged in but my at random times the previous users login screen pops up with username field disabled
and it comes two times,when I click cancel the second screen pops up. I am fed up with this problem. I have done with everything to try and solve this problem but it will just not go.
Ensure you are using an app password and that it is also correct (ensure there is no copy and paste error when copying the app password over to Sourcetree for Windows). Ensure Preferred Protocol is set to HTTPS. Hit Refresh Password. Make sure the page shows Authentication OK with the green checkmark, then hit OK.
Quite often this occurs because either a repo has multiple remotes, or a repo has a remote that you've not got permissions to anymore is still bookmarked (even if the tab isn't open in SourceTree).
For example I had 3 repos from a previous contract that I no longer had access too, whilst I didn't have the repos open in tabs within SourceTree, the repo was bookmarked so SourceTree kept trying to authenticate it; removing the bookmarks and then restarting SourceTree fixed the problem.
Removing old/non accessible repositories
In the latest version of Source Tree (2.1.2.5 at the time of writing), Select the New Tab + button, under Local repositories -> All Repos ensure that all the Repos are ones you have access to (might have to check each one can do a fetch)
Delete any bookmarks you do not need/have access to
Restart Source Tree
Removing old/duplicate/excessive remotes
Select your repository tab
Go to the Repository menu and select Repository settings (Ctrl+Shift+,)
Under the "Remotes" table, ensure the remotes are correct (most likely just origin pointing to bitbucket)
Good luck.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With