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

Copy link
Copy Markdown

Legend!

@GimunLee

Copy link
Copy Markdown

Thank you!!!

@Knext

Knext commented Apr 28, 2020

Copy link
Copy Markdown

Thank you so much!!

@shaikhimran786

Copy link
Copy Markdown

thanks so much

@vitorenes

Copy link
Copy Markdown

You absolute LEGEND! Thanks!!!

@jlabs

jlabs commented Aug 12, 2020

Copy link
Copy Markdown

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

groff commented Jan 27, 2021

Copy link
Copy Markdown

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

murattuver commented Jan 20, 2022

Copy link
Copy Markdown

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

@hammamm

hammamm commented Mar 15, 2022

Copy link
Copy Markdown

thank you

@D-Mick

D-Mick commented Mar 16, 2022

Copy link
Copy Markdown

Thank you

@loukgolfdev89

Copy link
Copy Markdown

Thank you!

@minomy13

minomy13 commented Oct 3, 2022

Copy link
Copy Markdown

Thanks!

@hpDeviOS

hpDeviOS commented Feb 2, 2023

Copy link
Copy Markdown

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