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!
@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