From b1ab5a193a98734132a481395edd80e75564648f Mon Sep 17 00:00:00 2001 From: Simon Brown Date: Wed, 9 Oct 2024 08:56:56 +0100 Subject: [PATCH] Adds a note about pulling a branch that doesn't exist. --- cloud/15-workspace-branches.md | 3 ++- onpremises/10-workspace-branches.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cloud/15-workspace-branches.md b/cloud/15-workspace-branches.md index b7ceaf4..fd1f869 100644 --- a/cloud/15-workspace-branches.md +++ b/cloud/15-workspace-branches.md @@ -27,4 +27,5 @@ There are a couple of ways to create a branch: - Branches are only viewable via the authenticated workspace URLs that start `/workspace` (i.e. they are not available via the unauthenticated `/share` URLs). - Diagram thumbnails are not stored for branches. - Branches are not included in the search index. -- There are no built-in facilities to merge, rebase, or diff branches. Instead, it's recommended that you create your workspace "as code" and use the facilities provided by your version control system. \ No newline at end of file +- There are no built-in facilities to merge, rebase, or diff branches. Instead, it's recommended that you create your workspace "as code" and use the facilities provided by your version control system. +- Pulling a branch via the workspace API that doesn't exist will return the latest version of the main branch. This provides an easy way to retain manual layout information when creating a new branch. \ No newline at end of file diff --git a/onpremises/10-workspace-branches.md b/onpremises/10-workspace-branches.md index a29c23b..2bfd3d9 100644 --- a/onpremises/10-workspace-branches.md +++ b/onpremises/10-workspace-branches.md @@ -34,4 +34,5 @@ There are a couple of ways to create a branch: - Branches are only viewable via the authenticated workspace URLs that start `/workspace` (i.e. they are not available via the unauthenticated `/share` URLs). - Diagram thumbnails are not stored for branches. - Branches are not included in the search index. -- There are no built-in facilities to merge, rebase, or diff branches. Instead, it's recommended that you create your workspace "as code" and use the facilities provided by your version control system. \ No newline at end of file +- There are no built-in facilities to merge, rebase, or diff branches. Instead, it's recommended that you create your workspace "as code" and use the facilities provided by your version control system. +- Pulling a branch via the workspace API that doesn't exist will return the latest version of the main branch. This provides an easy way to retain manual layout information when creating a new branch. \ No newline at end of file