Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

fatal: could not read Password for '': Device not configured


Not sure what's wrong but happened after I upgraded to latest sourcetree.

When I manually pull from command line, it works fine.

5 answers

1 accepted

1 vote
Answer accepted
bgannin Atlassian Team Apr 07, 2018

We've identified the fix and will roll out a new build later today. Our apologies for the hiccup.

Manju Atlassian Team Apr 09, 2018

We identified the issue here and fixed it over the weekend. Please update the build to 2.7 (167) and you should be good with this version. Sincere apologies for the inconvenience and appreciate the patience. 

Sourcetree Mac Developer

Same issue here, on Mac OS. Only with the last Sourcetree version (2.7.2). I found a workaround using the System Git instead of Embedded Git.

Manju Atlassian Team Apr 06, 2018

Restarting the Mac solved this issue for me in the past. Please give it a try and let us know if that doesn't help. 

Tried using the System Git instead of the Embedded Git but that didn't work for me. Still getting the same error.

That's solved for me (using System Git).


Using System git works for me too. Thanks!

I restarted the SO and i worked

I downgraded to 2.7.2 and I can now use the finish feature. I guess I will just stick to 2.7.2

I'm experiencing the same error but specifically using Git Flow tool+BitBucket:

  • MacOS 10.14 (Mojave)
  • SourceTree 2.7.6 (177)
  • Initially tried using Embedded Git (2.17), switched to System Git 2.18.0
  • using Embedded git-flow (version not reported in SourceTree) (but I also tried System version 0.4.1 installed via Brew)


I've tried all the above including:

  • rebooting
  • switching Bitbucket (Atlassian account creds) account from HTTPS to OAUTH.


I can manually perform the same git functions within SourceTree, and also use the git flow tool successfully on local repos.


Do I need to create an app-specific OAUTH password within Bitbucket settings?

Manju Atlassian Team Sep 13, 2018

If this error is specific to git-flow actions only, we are aware of a bug on the git-flow module. We are working on it and will hav an update on it soon. Please let us know if you see this on anything other than git-flow actions. 

Hi - Is this bug still unresolved?  After a few Source Tree updates I am still getting an authentication error with git-flow actions specifically.

I try reconnecting account through OAuth which is successful, but when I go to close a Hotfix for instance I still get:

fatal: could not read Password for '': Device not configured
Fatal: Could not fetch hotfix/responsive-videos from origin.
Like # people like this

@Manju Still unresolved, Mac, Latest SourceTree, Git Flow

Like # people like this

Still unresolved (MacOS catalina, source tree 4.0.1)

still unresolved MacOS catalina 10.15.4, source tree 4.0.1 (234)

Unresolved - MacOS Mojave 10.14.3, SourceTree 4.0.1 (234)

Unresolved - MacOS Mojave 10.14.6, SourceTree 4.0.1 (234)

still unresolved! sourcetree 3.3.8 for windows

Sourcetree->Preferrence->Accounts->Select the Account that contains the branch to be finished. Then edit and change https to auth type and then select Connect Account, give your username and password to dialog, after successful authentication a list of repositories will be shown. select the target repository and click on Clone button, a dialog will be shown and select clone in Sourcetree, then it will locate the local repository and select the repository. after selecting just press gitflow. Screen Shot 2018-08-10 at 1.15.20 AM.pngScreen Shot 2018-08-10 at 1.25.44 AM.png

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

7,219 views 5 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you