Skip to content

Commit 2fd2b3c

Browse files
committed
Document .githubrc
1 parent 17a016d commit 2fd2b3c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,16 @@ You can also use `webdiff` to view GitHub pull requests:
4242

4343
This will download the files relevant to the Pull Request and run `webdiff`.
4444

45+
If you run into GitHub API quota limits, you can set your credentials in a `.githubrc` file:
46+
47+
```
48+
user.login: yourusername
49+
user.password: yourpassword
50+
```
51+
52+
Make sure you chmod this file to only be readable by yourself. In the future
53+
we'll support [Oauth][].
54+
4555
Preview
4656
----------
4757

@@ -90,3 +100,5 @@ To iterate on the PyPI package, run:
90100
deactivate
91101
cd /tmp/webdiff-test
92102
pip install webdiff-X.Y.Z.tar.gz
103+
104+
[oauth]: https://github.com/danvk/webdiff/issues/103

0 commit comments

Comments
 (0)