Hello,
Running Version 3.2.6 of SourceTree connect to a BitBucket Git repository.
When I run a Commit SourceTree crashes (every time) and the program to report the crash comes up.
What can I look for to troubleshoot?
Thanks,
~eric
Hello Eric and welcome to the Community!
Thank you for reporting this issue upon commit. We can confirm this is caused by the lack of a username and email being set within Sourcetree. This issue will be resolved in a future release as well. To set a username and email, please review the following:
I hope this information proves helpful in allowing you to commit.
Regards,
Stephen Sifers
I have the exact same problem and I do have the username and E-mail filled out. What could be the other ways to fix this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also had this problem, although my user name and pass were filled in by default. I did the following and it worked for me:
1. I deleted the user name and password from Options, left the fields blank.
2. Made a commit (it crashed).
3. Added the user name and password again.
It now commits without any issues so far.
Hope this is helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this. I was getting a crash when performing a commit, but only for a recently added repo. This fix worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for this, this fix worked perfectly for me, i also had a ssh key uploaded to client "SSH Client Configuration" that was not required
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To be clear, the workaround above involves clearing, committing/crashing, and then re-entering the "Full Name" and "Email address" fields inside the "Default user information" panel on the "General" tab of the "Options" dialog box (as indicated in the screenshot, and not the user name and password).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So for me, it worked for a couple days and then broke again. The fix did not help. I ended up rolling back to v3.1.3 which fixed the issue for a couple days again. Then I had the User Information popup every time I tried to commit, whereupon I had to delete the user.config file in my AppData folder.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked for me. Make sure to use your username instead of FullName
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Solution of Alin Baesu worked for me.
Hope the bug will not be back ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also had this problem, although my user name and pass were filled in by default. I did the following and it worked for me:
1. I deleted the user name and password from Options, left the fields blank.
2. Made a commit (it crashed).
3. Added the user name and password again.
It now commits without any issues so far.
Hope this is helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I already had both the full name and email filled under 'Default user information' in General options. Originally I had my real name, then I switched it to my Atlassian username. No difference, it still keeps crashing.
Running on a Windows 8 and I'm using an application password with basic auth.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Removing the username and password and rentering the same worked for me.
Thanks for the solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The workaround presented did work for me.
But, will this issue be patched? Rather ridiculous to have a git client crash on commit, seems like an important thing to fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Username must be with out spaces. "MichealClarke" like this..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks man ! your solution solved my problem !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confirmed, username cannot have spaces. Sheesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I solved problem with comment of dev2webindiasolutions, Thank you
I also had this problem, although my user name and pass were filled in by default. I did the following and it worked for me:
1. I deleted the user name and password from Options, left the fields blank.
2. Made a commit (it crashed).
3. Added the user name and password again.
It now commits without any issues so far.
Hope this is helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
git config --global user.email "PUT.YOUR.GIT@EMAIL.HERE"
git config --global user.name "PUT.YOUR.GIT.USER.HERE"
try to commit again. After it when I opened Options the Full name and Email address fields were filled-in properly.
(!) in the command line, you will probably need to change the current folder to one where GIT executable resides.
As an alternative way you can try to edit c:\Users\<YOUR.USER.NAME>\.gitconfig file like below and restart Sourcetree app.
[user]
name = PUT.YOUR.GIT.USER.HERE
email = PUT.YOUR.GIT@EMAIL.HERE
[difftool "sourcetree"]
cmd = '' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = "'' "
trustExitCode = true
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solved the problem in the end. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank's a lot , this work for me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This solves
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
adding name n email again wored for me as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The git CLI method did it for me, although I didn't get the sourcetree fileds automatically repopulated, and it took a couple of attempts befor it worked.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me:
- Deleted username and email.
- It crashed.
- Re inserted username and email.
- Now it works :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it work thx xd
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also make sure that the Authentication tab is set up correctly or the commit can't work at all:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Eric Langley delete the user name and password from Options, leave the fields blank
Make a commit, it will crash for sure. Then add the user name and password again then do a commit, it will work fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am seeing this issue with v3.2.6.3544 regardless of the state of the Default user information.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In case of, try without space
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Had the same issue when there is a space in the full name.
Without space it's working fine
SourceTree version 3.2.6.3544
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Alin's solution worked perfectly for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to resolve this by simply deleting the Username and Email completely, saving those changes, closing the program and restarting it, then entering the Username and Email manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What worked for me:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks this worked for me as well but what we should add in the option for selecting folder in repository
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same exact issue and Alin's instructions above worked like a charm.. Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.