Skip to content

Commit ff89ba2

Browse files
committed
fixup! Update modules/end-user-guide/pages/url-parameter-for-the-existing-workspace-name.adoc
Signed-off-by: Oleksii Orel <oorel@redhat.com>
1 parent ef84518 commit ff89ba2

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

modules/end-user-guide/pages/url-parameter-for-the-existing-workspace-name.adoc

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,25 @@
77
[id="url-parameter-for-the-existing-workspace-name"]
88
= URL parameter for the existing workspace name
99

10-
If you start a new workspace with a URL that contains the `existing` URL parameter specifying an existing workspace name, the existing workspace created from the same URL is opened. If no workspace from the same URL exists yet, a new workspace is created.
10+
If you start a new workspace with a URL that contains the `existing` URL parameter specifying an existing workspace name, the existing workspace created from the same URL is opened.
11+
12+
When specifying the `existing` URL parameter, several situations may arise:
13+
14+
1. No workspaces created from the same URL, and a new workspace is created.
15+
16+
2. The specified existing workspace name may not match any existing workspaces, and a warning will appear, in which you will need to select one of the following actions:
17+
- Create a new workspace.
18+
- Select an existing workspace to open.
19+
20+
3. The specified existing workspace name may match one of the existing workspaces created from the same URL; the existing workspace is opened.
1121

1222
[NOTE]
1323
====
14-
If you create multiple workspaces from the same URL, the specified existing workspace name will be preferred.
24+
To create multiple workspaces from the same URL, you can use the `new` URL parameter:
25+
[source,subs="+quotes,+attributes,+macros"]
26+
----
27+
pass:c,a,q[{prod-url}]#__<git_repository_url>__?new
28+
----
1529
====
1630

1731
The URL parameter for the existing workspace name is `existing=`:
@@ -25,7 +39,7 @@ pass:c,a,q[{prod-url}]#__<git_repository_url>__?existing=__<existing_workspace_n
2539

2640
====
2741
28-
`pass:c,a,q[{prod-url}]#https://github.com/eclipse-che/che-docs?existing=che-docs`
42+
`pass:c,a,q[{prod-url}]#<git_repository_url>?existing=workspace_name`
2943
3044
====
3145

0 commit comments

Comments
 (0)