Sourcetree Username

Sourcetree
  • Status:Closed(View Workflow)
  • Resolution: Resolved Locally
  • Fix Version/s: None
  • Labels:
  • Environment:

    Windows 10 Home v 1709 build 16299.192

    SourceTree version 2.4.8.0

    Embedded Git version 2.15.1/ LibGit2Sharp v0.24.0 + git-lfs v2.0.2 + + Git LFS Bitbucket Adapter v1.0.6

I have SourceTree configured with authentication information for Mercurial on Bitbucket and Git on Bitbucket, GitHub, and visualstudio.com . Recently, SourceTree will not authenticate correctly with GitHub. Although my GitHub credentials are saved in the SourceTree authentication settings, whenever I try to push to or pull from a GitHub repository, a 'GitHub Login' window appears and asks me to enter my username and password. Even if I type the information correctly, SourceTree displays an error:

Navigate to C:UsersUSERNAMEAppDataLocalAtlassianSourceTree and delete (or rename) the file named passwd. Restart SourceTree and execute a command (e.g. Pull, Push, etc.) that requires authentication. SourceTree will then prompt you for your password, rewriting the cached credentials.

Username = myShortBitBucketUserName. But if I add those lines to my repo-config i SourceTree the line with the username is just deleted again. I have tried to change my user-info as specified here. But whenever I change my name, the change is reverted when I re-open the settings? Found this answer: Sourcetree remote: Invalid username or password. But is not quite the same solution. Tools Options Git Embed Then: 1. Close Sourcetree 3. Delete AppDataLocalAtlassianSourceTreepasswd 4. Restart SourceTree 5. It's fixed for me. Maybe problems with the current version. Usage and admin help. Answers, support, and inspiration. Suggestions and bugs. Feature suggestions and bug reports. Windows 10 x64 Pro. SourceTree 3.0.8. Git for Windows 2.19.1. Git Credentials Manager 1.18.2. Azure DevOps (aka Visual Studio Online, aka Visual Studio Team Services).

However, I can log into GitHub using the same username and password in a browser. If I try to push or pull using the Git terminal, it shows the 'GitHub Login' dialog and fails when I enter my information. Then it asks for a username in the terminal, then displays an OpenSSH password prompt. After I enter my password in the OpenSSH prompt, it does connect successfully. However, this approach only works in the terminal, and SourceTree does not detect changes made from the terminal - so if I push or pull, SourceTree doesn't realize it.

Greyed

Username In Sourcetree

I have tried deleting my saved GitHub account information from SourceTree. I can remove GitHub from the sections 'Accounts' and 'Git Saved Paswords'. However, once I remove GitHub from 'Git Saved Passwords', it appears under 'Rest Saved Passwords' and cannot be removed.

I've tried re-adding GitHub using both OAuth and Basic auth, and in both cases SourceTree reports 'Authentication OK' from the settings dialog, but my issue persists - SourceTree always shows me the login prompt when I try to push or pull and always says that I typed in the password incorrectly even when I type it in correctly.

Zero-zero-zero-zero hours. latin ante meridiem, meaning before midday, PM or P.M. latin post meridiem, meaning after midday. Letter 'Z' in military time indicates ZULU Time Zone which is equivalent to UTC. UTC time to My Time Conversion Table. Scale:00:00 00:05 00:10 00:15 00:20 00:25. UTC to Pacific Daylight Time (Local) Conversion Chart ( Reverse the chart below ) 0:00 AM (0:00) UTC =. 5:00 PM (17:00) Previous Day Pacific Daylight. 0:30 AM (0:30) UTC =. 5:30 PM (17:30) Previous Day Pacific Daylight. 1:00 AM (1:00) UTC =. 0 utc in my local timeline.

Sourcetree Usernames

Again, I can log in through the browser or through Git terminal; I haven't forgotten my password and don't have trouble typing it in correctly.

Sourcetree Username Greyed Out

Votes:
1Vote for this issue
Watchers:
5Start watching this issue