Skip to content

Commit

Permalink
Note that gh-scoped-creds only works with HTTPS url
Browse files Browse the repository at this point in the history
Maybe the wording could be improved, but I think its important to point this out here.
  • Loading branch information
jbusecke authored Aug 28, 2023
1 parent bed567f commit 2859541
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion data/git.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import gh_scoped_creds
%ghscopedcreds
```

You should now be able to push to GitHub from the hub! These credentials will expire after
You should now be able to push to GitHub from the hub!
> Make sure to use the HTTPS url to repos, not the SSH one.
These credentials will expire after
8 hours (or whenever your JupyterHub server stops), and you'll have to repeat these steps
to fetch a fresh set of credentials. Once you authenticate, you'll be provided with a link
to a [GitHub App](https://docs.github.com/en/developers/apps/getting-started-with-apps/about-apps)
Expand Down

0 comments on commit 2859541

Please sign in to comment.