From dd7a8c27d2977347b73b7ce0a41213ec75bdc550 Mon Sep 17 00:00:00 2001 From: TurekBot Date: Thu, 16 May 2019 17:17:31 -0600 Subject: [PATCH 1/3] doc: change tutorial git to suggest HTTPS Since we're instructing the user to create a new repository, it might be a safe bet to assume that they don't have their SSH keys set up. HTTPS might be a better option in this context. --- docs/tutorial-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial-setup.md b/docs/tutorial-setup.md index 93127edcba69..f1851b510675 100644 --- a/docs/tutorial-setup.md +++ b/docs/tutorial-setup.md @@ -55,7 +55,7 @@ We highly recommend you to install Yarn, an alternative package manager that has 5. Clone your repository to your local machine: ```sh -git clone git@github.com:USERNAME/docusaurus-tutorial.git +git clone https://github.com/USERNAME/docusaurus-tutorial.git ``` 6. `cd` into the repository which you just created. From 54149d1d1a9fa52bb43d9824c0b0c9e41db434b1 Mon Sep 17 00:00:00 2001 From: TurekBot Date: Thu, 16 May 2019 20:09:32 -0600 Subject: [PATCH 2/3] docs: keep ssh add https @Hongarc said, "How about keep `SSH` and add `HTTPS`." This is one way to do that. --- docs/tutorial-setup.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/tutorial-setup.md b/docs/tutorial-setup.md index f1851b510675..9ac717826cd3 100644 --- a/docs/tutorial-setup.md +++ b/docs/tutorial-setup.md @@ -55,7 +55,9 @@ We highly recommend you to install Yarn, an alternative package manager that has 5. Clone your repository to your local machine: ```sh -git clone https://github.com/USERNAME/docusaurus-tutorial.git +git clone git@github.com:USERNAME/docusaurus-tutorial.git ##SSH +#or +git clone https://github.com/USERNAME/docusaurus-tutorial.git #HTTPS ``` 6. `cd` into the repository which you just created. From 5a3bae0fdb68eac284821b56daedfa624f986fc0 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Thu, 16 May 2019 19:18:57 -0700 Subject: [PATCH 3/3] Update tutorial-setup.md --- docs/tutorial-setup.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorial-setup.md b/docs/tutorial-setup.md index 9ac717826cd3..a49ddb983ae1 100644 --- a/docs/tutorial-setup.md +++ b/docs/tutorial-setup.md @@ -55,9 +55,9 @@ We highly recommend you to install Yarn, an alternative package manager that has 5. Clone your repository to your local machine: ```sh -git clone git@github.com:USERNAME/docusaurus-tutorial.git ##SSH -#or -git clone https://github.com/USERNAME/docusaurus-tutorial.git #HTTPS +git clone git@github.com:USERNAME/docusaurus-tutorial.git # SSH +# or +git clone https://github.com/USERNAME/docusaurus-tutorial.git # HTTPS ``` 6. `cd` into the repository which you just created.