From 2859541046efb985aa68fc64b5ed2ce134d58766 Mon Sep 17 00:00:00 2001 From: Julius Busecke Date: Mon, 28 Aug 2023 14:23:03 -0400 Subject: [PATCH 1/2] Note that gh-scoped-creds only works with HTTPS url Maybe the wording could be improved, but I think its important to point this out here. --- data/git.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/data/git.md b/data/git.md index fdcb580..1d43c0a 100644 --- a/data/git.md +++ b/data/git.md @@ -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) From cd481e93d04e88b7cd3b5ea3d596db9088e8ac02 Mon Sep 17 00:00:00 2001 From: Julius Busecke Date: Mon, 28 Aug 2023 14:54:29 -0400 Subject: [PATCH 2/2] Update data/git.md Co-authored-by: Yuvi Panda --- data/git.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/git.md b/data/git.md index 1d43c0a..37dbfdc 100644 --- a/data/git.md +++ b/data/git.md @@ -17,7 +17,7 @@ import gh_scoped_creds ``` 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. +> Make sure to use the HTTPS url to clone from and push 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