Skip to content

Commit b419641

Browse files
author
Michael C. Harris
committed
Describe two-factor auth setup
1 parent bd941d0 commit b419641

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/gist-vim.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,14 @@ be kept for later use. You can revoke the token at any time from the list of
246246
"Authorized applications" on Github's "Account Settings" page.
247247
(https://github.com/settings/applications)
248248

249+
If you have two-factor authentication enabled on Github, you'll see the message
250+
"Must specify two-factor authentication OTP code." In this case, you need to
251+
create a "Personal Access Token" on Github's "Account Settings" page
252+
(https://github.com/settings/applications) and place it in a file
253+
named ~/.gist-vim like this:
254+
>
255+
token xxxxx
256+
<
249257
If you happen to have your password already written in ~/.gitconfig like
250258
below:
251259
>

0 commit comments

Comments
 (0)