Skip to content

Instantly share code, notes, and snippets.

@tessro
Created March 21, 2012 22:41
Show Gist options
  • Save tessro/2153849 to your computer and use it in GitHub Desktop.
Save tessro/2153849 to your computer and use it in GitHub Desktop.
configure `hub` using the OS X keychain
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 \")
@wamatt
Copy link

wamatt commented Sep 21, 2012

SecKeychainSearchCopyNext: The specified item could not be found in the keychain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment