Created
March 21, 2012 22:41
-
-
Save tessro/2153849 to your computer and use it in GitHub Desktop.
configure `hub` using the OS X keychain
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GITHUB_USER=$(security find-generic-password -s github.token | grep acct | cut -d= -f2 | tr -d \") | |
export GITHUB_TOKEN=$(security find-generic-password -gs github.token 2>&1 >/dev/null | cut -d\ -f2 | tr -d \") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SecKeychainSearchCopyNext: The specified item could not be found in the keychain.