git-credential-oauth
git-credential-oauth copied to clipboard
Added support for GitHub Gists (gist.github.com)
GitHub gists under gist.github.com are just git repos that share the same auth infrastructure as the normal github.com instance, so we can just reuse the existing github.com configuration there.
I tested it by pushing to GitHub gist (cloning is free for all when you know the URL, but pushing is limited to the owner) The implementation duplicates the magic numbers in the code, but they are right next to each other so it should still be easy to change if needed.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.