The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Same issue. Just installed the latest version of SourceTree (3.3.9) on a fresh build of Windows 10 v2004
Open Windows Powershell (Admin) from the Start Button context menu:
If it's not there, search for Windows PowerShell, click the > arrow and select Run as Administrator:
Run the following commands (in bold) excluding the #comments:
#Navigate to the SourceTree LocalAppData folder
cd $env:LOCALAPPDATA\Atlassian\SourceTree\git_local\mingw32\bin\
#Run git.exe to edit the config file
./git.exe config --edit --system
#This open a VI text editor
#Press the letter "I" on your keyboard to enter INSERT mode
#Update [credential] helper in the config file as shown in the screenshot above or below.
[credential]
helper = manager
#Press the "Esc" key on your keyboard until INSERT mode exits, then type :wq and press Enter. This "writes and quits" the VI Editor.
:wq
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.
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.
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.
Hey @Leslie Johnson
Its a command to save and close in Vi editor.
you can use any text editor you are comfortable with such as notepad.
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.
To be clear - after you have edited it so:
[credential]
helper = manager
press 'Esc' button
type :wq and press 'return'
(for other VI newbies like me!)
Amazing guide, thank you
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.
on windows 11 it returns this error, i manually check the folder its there. Not sure whats wrong hre?
'''
%localappdata%\Atlassian\SourceTree\git_local\mingw32\bin\ : The module '%localappdata%' could not be loaded. For more
information, run 'Import-Module %localappdata%'.
At line:1 char:1
+ %localappdata%\Atlassian\SourceTree\git_local\mingw32\bin\
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (%localappdata%\...al\mingw32\bin\:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CouldNotAutoLoadModule
'''
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The person who wrote this clearly assumes everyone knows what powershell is or how to use it. The reason I use sourcetree is so I don't have to use command line things, so this 'help' is unhelpful and needs to be more explicit.
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.
tried everything, literally everything, nothing worked, saw this post by mistake, it worked like magic!
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.
I'm using the latest version, 3.4.7, under Windows 10. Is this still an issue in that version?
Also, I'm brand new to Sourcetree and was hoping this kind of tool would keep me OUT of the command line. If I spend all day, I MIGHT be able to get this done per the steps given. Is there no other way to do this? I cannot connect to my remote repo because of this error.
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.
I finally got this working by following the exact steps with one modification:
[credential]
helper = manager-core
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.
In 2022, installing SourceTree in a new Windows 11 virtual machine still prompts me with this popup of the death... What a pathetic expercience for new users, such as a full class of students...
However, i found out that selecting "manager-core" from the list and checking always use was the solution. If the popup comes again, select the second option "manager-core" was definitive. I don't know why there are several options with the same name, but the second one was the solution.
Also since I was cloning a repository (with https) from bitbucket, I had to connect to my account in Tools > Options > Authentication > Add > select HTTPS and OAuth
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having trouble navigating here:
%localappdata%\Atlassian\SourceTree\git_local\mingw32\bin\
I cannot find 'git_local' in the SourceTree folder, only 'accounts.json'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please confirm you're looking under Local and not Roaming AppData folders.
%localappdata%\Atlassian\SourceTree\git_local\mingw32\bin
Not
%appdata%\Atlassian\SourceTree
(which contains accounts.json)
Otherwise, check if you're using System Git (%ProgramFiles%\Git) rather than Embedded Git (%localappdata%\Atlassian\SourceTree\git_local\mingw32\bin).
Refer to this KB article:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The powershell code wont work for me. I tried CMD but cant seem to close and save that file.
I can save that setting in that popup to "Always use..", but still nothing
THe person who thought it was nice to add PUFFY, can some drop that person from a bridge! WTF im so damn annoyed by that old crap software.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.