Hi, it seems that every time I commit atm SourceTree crashes, I did a search here and the only solution I could find was to delete a draft commit message but I don't have one ( see attached )
It appears that my commits are working as can see my changes in Bitbucket but very annoying that it crashes
Cheers
Basically, I had the same issue. The error occours because no .gitconfig will create during the setup of 3.2.4. or you have missed to check the checkbox to create user information during setup wizard.
Open Sourcetree and check "File status" - you will see that there no user is available:
Fix the Issue
Close Sourcetree
To fix the issue open the explorer and navigate to: C:\Users\
Open the folder with your username
In this folder you should have a file with name ".gitconfig". If the file not exist, create it (It is no typo, the name will written with the dot at the beginning of the filename: .gitconfig
Open the existing / new file with an editor and add the following lines to the end of the file
[user]
name = User
email = Email
For "User" use a standard name (It is not the Windows Username meant)
For "Email" use a standard email Address
Save the file and start Source Tree again. You will see now, that a user is available in the "Status History".
BTW.: You can find your old user data in your last commits:
Go to "History" and select a commit. Here you can see in the commit information for the "Autor": Your old data. You should use the the same data as before to keep the structure:
Greets CR
It works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks :D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thx!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
3 years, no solution. you know, there are other free solutions out there
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it was crashing for me upon using Sourcetree v3.2.6 moments ago, so i rolled back to Sourcetree v3.1.2 and now everything is working just fine. Hope that helps!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
v3.2.6 crashed on commit. Reverted to v3.1.3 on windows, and it works. Thanks for the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm giving GitKraken a try. I love SourceTree, but downgrading to get it to work is just sad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can revert back to previous versions here -> https://www.sourcetreeapp.com/download-archives
No need to uninstall your current version, just download 3.1.3 and run the install (at least on Windows), and it will overwrite the new version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks guys. Reverted to v3.1.3 and it did the trick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Having the same problem and downgrade also did the trick for me, The problem is probably related with the pop-up that sourcetree shows if you did not configure git (name and email), because this was the first thing that I saw when I hit the commit button in the downgraded version.
edit: just noticed that Aggressor came to the same conclusion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem, and reverting to v3.1.3 did the trick. But as already mentioned, it is sad that this is necessary.
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 keep using v3.2.6 by setting my Git name and email address in the global .gitconfig. This stopped the popup which was crashing Sourcetree.
[user]
name = Some Username
email = someuser@gmail.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fix my issue. Thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
James Lenon, that did the trick. Thanks!
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 issue with 3.2.6, and it seems it has to do with credentials.
You should have the Full Name and Email address fields filled in Options, under Default User Information.
However, in case these fields are already populated and it still crashes on commit, you should leave them blank, make a commit (it will crash), then restart Sourcetree and fill the name and email address again, and that might solve it (it 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.
This works, I didn't have to revert the sourcetree version or anything.
As Alin suggested,
Just go to tools -> options and then edit the name and email address fields to leave them blank. Restart. Return to tools -> options and fill the name and email address. Restart again. Then everything 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.
No need to downgrade!
[user]
name = Your Name
email = your@email.com
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the crash is related to not having credentials set. The latest version worked on other pcs I had but it crashed on a new one I was setting up. When I switched back to 3.1.3 it asked me for my credentials before committing, whereas the most recent version just crashed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Had the same issue, reverted to 3.1.3, which worked, went back to new 3.2 and now that doesn't crash anymore either... might be an account/authentication issue as suggested by others.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can confirm same thing happened for me. I upgraded back to 3.2.6 after initial downgrade to 3.1.3 and things are working fine since.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Confirm same result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have been noticing massive CPU spikes/ cores pegged at 100% when committing in the 3.2.6 version, and occassionally 'Git for Windows' going past 100% cpu as well even after closing source tree. Downgrading to 3.1.3 (and also going back to 3.2.6 after) hasn't appeared to solve the issue for me, and I have global gitconfig user settings already in there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me this issue started occuring right after I installed MS visual C++ Build tools (it was working fine before), but downgrading to 3.1.3 solved it.
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.
Sep 2019 - I rolled back from 3.2 to 3.1.3 over here https://www.sourcetreeapp.com/download-archives and it worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is not fixed in 1.9.10.0. Sourcetree just crashed on consecutive commits.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have multiple repositories opened, moving all to the "File Status" view prior to committing seems to prevent the crash.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There seems to be a bug report for this issue, please upvote so it will be fixed sooner!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here! Plus mine crashes even when I commit from the "File Status" view. No actual fix yet?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Workaround as mentioned by Vincent Barral works perfectly, but it's quite annoying.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Me too! I'm using Alt + Shift + C to commit.
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.
same thing here, but it indeed works fine if commiting from the "File Status" view!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have the same issue. I do a commit/push, it crashes, I restart SourceTree and can then complete the push without crashing. Started happening about 2 months or so ago.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Happened since the last Sourcetree update. All my fellow developers using different source control clients are laughing at me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found a "workaround":
crash does not happen If I do the commit from the "File Status" view.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ditto. This just started happening in the last couple of weeks. It seems to commit, but crashes every single time, and it's really getting annoying. Please fix this!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Please fix the bug!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here crashes after commiting, commit is done but i need to restart source tree to push
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here. Is there a fix yet?
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.