Please enter the user details you wish to associate with your comments
Asked by Chuck J:

This dialog pops up continuously rendering the app unusable. The details are filled out and \`Use details for all repositories\` is checked. Going into settings everything is filled out. You cannot dismiss this modal dialog by clicking ok.

It is impossible to use sourcetree at all in this state.

Command line git seems to function fine. This is a major bug rendering this software useless.


Answers:
author: Ana Retamal
body: Hi Chuck! I've seen that you've already added your comment on the bug report at [SRCTREEWIN-6511](https://jira.atlassian.com/browse/SRCTREEWIN-6511).

Have you tried some of the solutions provided by the users? One of them was able to resolve this problem by selecting **Repository \> Repository Settings** and unchecking the **Use global user settings** checkbox on the Advanced page. Changing git from cygwin git to the embedded version seemed to solve the problem for another one.

You can also try a clean install by following the steps:

1. [Wipe Sourcetree preference](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)s.
2. Uninstall Sourcetree (if it shows on the App\&Features list)
3. Backup then delete the directory below before proceeding with next step:
   * On Windows:
     * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local and delete Sourcetree \& Sourcetree-Settings folder
     * Navigate to C:\\Users\\\<UserName\>\\AppData\\Local\\Atlassian and delete all Sourcetree Files/ folder.
   * On Mac:
     * \~/Library/Application Support/SourceTree
4. [Download SourceTree](https://www.sourcetreeapp.com/) and install it.

One of our developers also posted some questions to help with the troubleshooting of the issue, but nobody replied so far, could you provide the answer to the following:

1. If you go into **Tools/Options/General** and fill in the Default User Details does that fix the problem?
2. If you switch to using the latest embedded version of Git, in **Tools/Options/Git** tab, does that fix the problem?
3. What version of Git you are using, and is it a system install or the embedded one?
4. Which OS and Sourcetree version are you using?

Best regards!

Ana

comments: author: Chuck J
body: This is the latest version for windows. None of these suggestions fix the problem. As someone noted, it has something to do with the HOME environment variable.

Try using sourcetree on a windows machine with no HOME defined and you will see how intrusive this bug becomes.


author: Christian_Grey
body: Ok, Chuck.

I've just had the same problem. I fixed it by SELECTING all staged files and then clicking commit


author: John Wintermann
body: I'm having the same issue. Selecting the staged files does not work. using version 2.6.10.0 on Windows 10. I have no idea if it's a system install or an embedded install.


author: hemaolle
body: I can confirm that defining a new environment variable called HOME and pointing it at my user directory, then restarting Source Tree fixed the problem for me.


author: Jedidiah Montgomery
body: I can confirm that adding the HOME environment variable and point it to my user home directory works. This fixes the problem.


author: Guidanel
body: The HOME trick worked for me too, thanks.


author: reynanparico
body: adding the HOME environment variable worked for me too


author: Justin Russo
body: Wiping the Sourcetree preferences, and regenerating the Personal Access Token in ADO worked for me.


author: Navjot Dewett
body: I followed below steps to resolve this issue:-

1. Open GIT terminal

2. Run "git status" command to see what's pending

3. Tried to commit files using "git commit -m "\<your message goes here\>" . This failed for the first time but I got directions. I found my user in the config file was somehow modified.

4. Ran " git config --global --edit" and modified my username, saved the config file

5. Tried to commit files again using "git commit -m "\<your message goes here\>"

AND IT WORKED THIS TIME!

I opened SourceTree again and everything was working as expected.


author: Brian Hyronimus
body: I got around this problem by clearing the checkbox for 'Allow Sourcetree to manage my credentials via the Git Credential Manager'. This is in Tools-\>Options-\>GIT.

Sourcetree version 3.3.6


author: Mahfuzul haque
body: I have solved the issue by committing all the changes through git bash. Now sourcetree is working as usual.


author: Nathan Hase
body: I love the answers that are all snarky!  
"did you hack out some of the shit that other people had to wade through to try and figure out how to make this piece of shit work properly?"  

Awesome support.

"One person tried this thing and it worked and another person tried this other thing and that worked too!"

So comprehensive. It's like Atlassian goes out of their way to be as useless as possible.