DEV Community

Cover image for How to fix - Sourcetree Device not configured
Ibrar Hussain
Ibrar Hussain

Posted on

How to fix - Sourcetree Device not configured

If you are using SourceTree on Mac, there is high possibility that you might have encountered this issue when trying to push a new release. This mostly happens when you update your SourceTree or Mac OS.

It can be easily resolved with the following steps:

Step # 1

Go to your source code folder in your local and type the following command in console:

git config credential.helper
Enter fullscreen mode Exit fullscreen mode

You should see osxkeychain

Step # 2

Next, run the following command:

git config credential.helper sourcetree
Enter fullscreen mode Exit fullscreen mode

This command will change the Sourcetree config for credentials to sourcetree

and now if you type command git config credential.helper your should see sourcetree instead.

That's it.

If you try again pushing the new release branch and it should work this time.

Happy coding!

Oldest comments (0)