Skip to content

Commit 58420cb

Browse files
committed
Update README.md to reflect user.token
1 parent 242c11a commit 58420cb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,17 @@ You can also use `webdiff` to view GitHub pull requests:
4747

4848
This will download the files relevant to the Pull Request and run `webdiff`.
4949

50-
If you run into GitHub API quota limits, you can set your credentials in a `.githubrc` file:
50+
If you run into GitHub API quota limits or you'd like to use webdiff with
51+
private repos, you can set your credentials in a `.githubrc` file:
5152

5253
```
5354
user.login: yourusername
54-
user.password: yourpassword
55+
user.token: your-personal-access-tokens
5556
```
5657

57-
Make sure you chmod this file to only be readable by yourself. In the future
58-
we'll support [Oauth][].
58+
Make sure you chmod this file to only be readable by yourself. You can generate
59+
a personal access token for webdiff via github.com → profile → Settings →
60+
Personal access tokens. Make sure to grant all the "repo" privileges.
5961

6062

6163
Development

0 commit comments

Comments
 (0)