From e9855100e5a30ee642def82f2732152cba833237 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 6 Jun 2021 01:35:37 -0600 Subject: [PATCH] resolves #176 drop .git suffix from basename in clone instructions --- docs/modules/ROOT/pages/set-up-project.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/set-up-project.adoc b/docs/modules/ROOT/pages/set-up-project.adoc index be7dac2..9dad8aa 100644 --- a/docs/modules/ROOT/pages/set-up-project.adoc +++ b/docs/modules/ROOT/pages/set-up-project.adoc @@ -10,7 +10,7 @@ To start, clone the default UI project using git: [subs=attributes+] $ git clone {url-project} && - cd "`basename $_`" + cd "`basename ${_%.git}`" The example above clones Antora's default UI project and then switches to the project folder on your filesystem. Stay in this project folder in order to initialize the project using npm.