Joined March 2012
·
Posted to
Saving github auth info in Mac OS X keychain
over 1 year
ago
@felipeelias it's weird, maybe your mac os version? Anyway, you can still call security without the '-w' flag and use a program to filter the output, like this:
security find-generic-password -gs org.comum.lincoln.conf.github 2>/dev/stdout 1>/dev/null | sed 's/^password: \"\(.*\)\"/\1/g' | tr -d '\n'
Ugly but seems to work :)
Achievements
250 Karma
14,771 Total ProTip Views
Mongoose
Have at least one original repo where Ruby is the dominant language
Epidexipteryx
Have at least one original repo where C++ is the dominant language
Lemmings 100
Write something great enough to have at least 100 watchers of the project
Altruist
Increase developer well-being by sharing at least 20 open source projects
Forked
Have a project valued enough to be forked by someone else
Python 3
Have at least three original repos where Python is the dominant language
Charity
Fork and commit to someone's open source project in need
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
T-Rex 3
Have at least three original repos where C is the dominant language
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
T-Rex
Have at least one original repo where C is the dominant language
@insomniacsoftware Nice resource! But actually this password is not for git itself, but for other github tools, like gist. Do you know if these tools support this stuff?