From 743006eaa7d243cf4e6a2bb22d3f556e5cf315a1 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 27 Mar 2015 16:11:01 +0800 Subject: [PATCH] Update GitHub 2fa --- github-2fa.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github-2fa.md b/github-2fa.md index 7930655f4..79ff21812 100644 --- a/github-2fa.md +++ b/github-2fa.md @@ -11,7 +11,7 @@ Install [Google Authenticator](https://en.wikipedia.org/wiki/Google_Authenticato * Take a picture of the QR code using Google Authenticator. ### Enable password caching -On your computer, [enable caching your GitHub HTTPS credentials](https://help.github.com/articles/caching-your-github-password-in-git/). +On your computer, [enable caching your GitHub HTTPS credentials](https://help.github.com/articles/caching-your-github-password-in-git/). This allows you to store your 2FA token and not get asked for it everytime. ``` git config --global credential.helper osxkeychain # OSX @@ -28,8 +28,8 @@ vim .git/config ### Generate an API key -* [Generate an API key](https://github.com/settings/applications#personal-access-tokens) under "Personal Access Tokens". -* Leave the scopes unchanged (as long as there's *repo* + *public_repo*) +* [Generate an API key](https://github.com/settings/applications#personal-access-tokens) under "Personal Access Tokens". You'll use this as a password. +* Leave the scopes unchanged. (as long as there's *repo* + *public_repo*) ### Git push Push a repo. You'll be asked for a password. Use the token for the password.