Skip to content

Instantly share code, notes, and snippets.

@RockinPaul
Last active April 15, 2024 18:35
Show Gist options
  • Save RockinPaul/6b012b106c4175469ee39bde12fb67f7 to your computer and use it in GitHub Desktop.
Save RockinPaul/6b012b106c4175469ee39bde12fb67f7 to your computer and use it in GitHub Desktop.
SourceTree: Device not configured (on MacOS)
In console:
git config credential.helper
You will see: osxkeychain
git config credential.helper sourcetree
Then if you perform git config credential.helper again
You will see: sourcetree
Enjoy!
@1337jick
Copy link

Thank you!

@JajuanX
Copy link

JajuanX commented Nov 18, 2019

This worked! Thank you!

@fadak0828
Copy link

This is perfectly worked! You saved me! Thanks :)

@cafielo
Copy link

cafielo commented Jan 5, 2020

Thanks, this works perfectly

@maxluijben
Copy link

Legend!

@GimunLee
Copy link

Thank you!!!

@Knext
Copy link

Knext commented Apr 28, 2020

Thank you so much!!

@shaikhimran786
Copy link

thanks so much

@vitorenes
Copy link

You absolute LEGEND! Thanks!!!

@jlabs
Copy link

jlabs commented Aug 12, 2020

Just updated to 4.0.2 in the hope that the update would fix the issue, but that didn't happen.
This fix has worked for me - going to save a lot of time!

@yevhenRoman
Copy link

Thanks!

@carlituxman
Copy link

great!

@groff
Copy link

groff commented Jan 27, 2021

I added --global and worked.

git config --global credential.helper sourcetree

@dragonwong
Copy link

谢谢!

@n-watson-satellite
Copy link

Thank you!

@EtienneDh
Copy link

Thanks a lot !

@jm3ndoza
Copy link

Thank you!

@gregcruce
Copy link

Just an update - just got a new Mac, and couldn't delete a "Feature" from sourcetree (pushes and pulls worked). This bit worked a treat and allowed me to continue to remove the feature. Still working in November 2021!

@murattuver
Copy link

murattuver commented Jan 20, 2022

Even after all these years, it still works like a charm. Thank you!

@hammamm
Copy link

hammamm commented Mar 15, 2022

thank you

@D-Mick
Copy link

D-Mick commented Mar 16, 2022

Thank you

@Apichate-Y
Copy link

Thank you!

@minomy13
Copy link

minomy13 commented Oct 3, 2022

Thanks!

@hpDeviOS
Copy link

hpDeviOS commented Feb 2, 2023

Got this Error: fatal: not in a git directory
Then tried below one & its worked for me

I added --global and worked.

git config --global credential.helper sourcetree

Thank U!

@pauloantonelli
Copy link

the answear of @groff work for me too on mac monterey:

git config --global credential.helper sourcetree

@JaredMezz2
Copy link

MacOS Sonoma & this is still a working solution. Thanks!

@yonkyputra
Copy link

Works in 2024!!! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment