Skip to content

Instantly share code, notes, and snippets.

@RockinPaul
Last active April 15, 2024 18:35
Show Gist options
  • Select an option

  • Save RockinPaul/6b012b106c4175469ee39bde12fb67f7 to your computer and use it in GitHub Desktop.

Select an option

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
Copy Markdown

Thank you!

@JajuanX
Copy link
Copy Markdown

JajuanX commented Nov 18, 2019

This worked! Thank you!

@fadak0828
Copy link
Copy Markdown

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

@cafielo
Copy link
Copy Markdown

cafielo commented Jan 5, 2020

Thanks, this works perfectly

@maxluijben
Copy link
Copy Markdown

Legend!

@GimunLee
Copy link
Copy Markdown

Thank you!!!

@Knext
Copy link
Copy Markdown

Knext commented Apr 28, 2020

Thank you so much!!

@shaikhimran786
Copy link
Copy Markdown

thanks so much

@vitorenes
Copy link
Copy Markdown

You absolute LEGEND! Thanks!!!

@jlabs
Copy link
Copy Markdown

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
Copy Markdown

Thanks!

@carlituxman
Copy link
Copy Markdown

great!

@groff
Copy link
Copy Markdown

groff commented Jan 27, 2021

I added --global and worked.

git config --global credential.helper sourcetree

@dragonwong
Copy link
Copy Markdown

谢谢!

@n-watson-satellite
Copy link
Copy Markdown

Thank you!

@EtienneDh
Copy link
Copy Markdown

Thanks a lot !

@jm3ndoza
Copy link
Copy Markdown

Thank you!

@gregcruce
Copy link
Copy Markdown

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
Copy Markdown

murattuver commented Jan 20, 2022

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

@hammamm
Copy link
Copy Markdown

hammamm commented Mar 15, 2022

thank you

@D-Mick
Copy link
Copy Markdown

D-Mick commented Mar 16, 2022

Thank you

@apichate-y
Copy link
Copy Markdown

Thank you!

@minomy13
Copy link
Copy Markdown

minomy13 commented Oct 3, 2022

Thanks!

@hpDeviOS
Copy link
Copy Markdown

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
Copy Markdown

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

git config --global credential.helper sourcetree

@JaredMezz2
Copy link
Copy Markdown

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

@yonkyputra
Copy link
Copy Markdown

Works in 2024!!! Thanks

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