How to use multiple Github accounts in the same computer
if you want to use more than one github user on your mac osx computer, this tip can be quite useful. You simply add the file .gitconfig this block
[credential]
helper = osxkeychain
useHttpPath = true
when you try to clone any repository, credentials will be prompted to you. ;)
Written by Vinicius Souza
Related protips
4 Responses
So does this only apply for https cloning/uploading?
over 1 year ago
·
I think so. I do not really use the ssh method , you tested ?
over 1 year ago
·
what is it on Windows?
over 1 year ago
·
osx keychain is a mac OS X feature, if you wanna use multiple accounts on windows, you might test the ssh method ;)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#