From 6a2dd0a27959f2d4aa221d0008dc1be618e8629f Mon Sep 17 00:00:00 2001 From: Michelle Habonneau <83347449+Michellehbn@users.noreply.github.com> Date: Thu, 1 Jun 2023 15:05:40 +0200 Subject: [PATCH 1/3] Update spaces-overview.md Added Clone Repo button section --- docs/hub/spaces-overview.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/hub/spaces-overview.md b/docs/hub/spaces-overview.md index 37d64a454..4ed7e79dd 100644 --- a/docs/hub/spaces-overview.md +++ b/docs/hub/spaces-overview.md @@ -66,7 +66,6 @@ If you want to duplicate a Space, you can click the three dots at the top right Some Spaces might have environment variables that you might need to setup up. In those cases, the duplicate workflow will give you a warning about them. The duplicated Space will use a free CPU by default, but you can later upgrade it if needed. - ## Networking If your Space needs to make any network requests, you can make requests through the standard HTTP and HTTPS ports (80 and 443) along with port 8080. Any requests going to other ports will be blocked. @@ -84,3 +83,15 @@ In some cases, you might be interested in having programmatic access to the Spac * `SPACE_REPO_NAME`: i-like-flan * `SPACE_TITLE`: I Like Flan (specified in the README file) * `SPACE_ID`: `osanseviero/i-like-flan` + +## Clone the Repository + +You can easily clone the repo in your Space. Start cloning by clicking on the bullet list dropdown in the top right of your Space page. Select "Clone repository" and then you'll be able to follow the instructions to clone the Space repo to your local machine using HTTPS or SSH. + +![Spaces Clone Repo](https://github.com/huggingface/hub-docs/assets/83347449/dba41adb-134f-48ef-8de3-36a811c9c883) + +![HTTPS Clone](https://github.com/huggingface/hub-docs/assets/83347449/7ff40900-3fef-4bc7-aeb5-8437eba61934) + +![SSH Clone](https://github.com/huggingface/hub-docs/assets/83347449/29b089e5-7750-4343-b11e-c7860736f24d) + + From d15be920cf34b4e53d3014a589951fef607bea0c Mon Sep 17 00:00:00 2001 From: Michelle Habonneau <83347449+Michellehbn@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:48:50 +0200 Subject: [PATCH 2/3] Update docs/hub/spaces-overview.md Co-authored-by: Omar Sanseviero --- docs/hub/spaces-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hub/spaces-overview.md b/docs/hub/spaces-overview.md index 4ed7e79dd..1df3c4936 100644 --- a/docs/hub/spaces-overview.md +++ b/docs/hub/spaces-overview.md @@ -86,7 +86,7 @@ In some cases, you might be interested in having programmatic access to the Spac ## Clone the Repository -You can easily clone the repo in your Space. Start cloning by clicking on the bullet list dropdown in the top right of your Space page. Select "Clone repository" and then you'll be able to follow the instructions to clone the Space repo to your local machine using HTTPS or SSH. +You can easily clone the repo in your Space. Start cloning by clicking on the dropdown menu in the top right of your Space page. Select "Clone repository", and then you'll be able to follow the instructions to clone the Space repo to your local machine using HTTPS or SSH. ![Spaces Clone Repo](https://github.com/huggingface/hub-docs/assets/83347449/dba41adb-134f-48ef-8de3-36a811c9c883) From 03c8ae90b0d9428594ae0c7970c00a5740ae738f Mon Sep 17 00:00:00 2001 From: Michelle Habonneau <83347449+Michellehbn@users.noreply.github.com> Date: Tue, 8 Aug 2023 11:02:55 +0200 Subject: [PATCH 3/3] Update spaces-overview.md Updated images --- docs/hub/spaces-overview.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/docs/hub/spaces-overview.md b/docs/hub/spaces-overview.md index 1df3c4936..97358dbf7 100644 --- a/docs/hub/spaces-overview.md +++ b/docs/hub/spaces-overview.md @@ -86,12 +86,23 @@ In some cases, you might be interested in having programmatic access to the Spac ## Clone the Repository -You can easily clone the repo in your Space. Start cloning by clicking on the dropdown menu in the top right of your Space page. Select "Clone repository", and then you'll be able to follow the instructions to clone the Space repo to your local machine using HTTPS or SSH. +You can easily clone the repo in your Space. Start cloning by clicking on the dropdown menu in the top right of your Space page: -![Spaces Clone Repo](https://github.com/huggingface/hub-docs/assets/83347449/dba41adb-134f-48ef-8de3-36a811c9c883) +
+ + +
-![HTTPS Clone](https://github.com/huggingface/hub-docs/assets/83347449/7ff40900-3fef-4bc7-aeb5-8437eba61934) +Select "Clone repository", and then you'll be able to follow the instructions to clone the Space repo to your local machine using HTTPS or SSH. -![SSH Clone](https://github.com/huggingface/hub-docs/assets/83347449/29b089e5-7750-4343-b11e-c7860736f24d) +
+ + +
+ +
+ + +