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