From f3b6be6a2d107f0ce6dab05b0ebad716ace58f76 Mon Sep 17 00:00:00 2001
From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com>
Date: Tue, 22 Aug 2023 09:30:24 -0400
Subject: [PATCH 1/2] Update develop-in-the-cloud.md
clarify why changing branches is available for saved but uncommitted code
---
website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md b/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
index b9622acbeaf..853c12b9486 100644
--- a/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
+++ b/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
@@ -84,7 +84,7 @@ The Cloud IDE needs explicit action to save your changes. There are three ways y
- **Unsaved, local code —** The browser stores your code only in its local storage. In this state, you might need to commit any unsaved changes in order to switch branches or browsers. If you have saved and committed changes, you can access the "Change branch" option even if there are unsaved changes. But if you attempt to switch branches without saving changes, a warning message will appear, notifying you that you will lose any unsaved changes.
-- **Saved but uncommitted code —** When you save a file, the data gets stored in durable, long-term storage. To access the Change branch option, you must "Commit and sync" or "Revert" changes - changing branches isn't available for saved-but-uncommitted code.
+- **Saved but uncommitted code —** When you save a file, the data gets stored in durable, long-term storage. To access the Change branch option, you must "Commit and sync" or "Revert" changes. To ensure your uncommitted changes don't get lost, changing branches isn't available for saved-but-uncommitted code. This is because the state hasn’t been synced back to git.
- **Committed code —** This is stored in the branch with your git provider and you can check out other (remote) branches.
## Access the Cloud IDE
From f2ba98dbd805d3f40a91cb5289ed638d95ad1de4 Mon Sep 17 00:00:00 2001
From: mirnawong1 <89008547+mirnawong1@users.noreply.github.com>
Date: Tue, 22 Aug 2023 09:39:22 -0400
Subject: [PATCH 2/2] Update
website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
---
website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md b/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
index 853c12b9486..f738dc78d26 100644
--- a/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
+++ b/website/docs/docs/cloud/dbt-cloud-ide/develop-in-the-cloud.md
@@ -84,7 +84,7 @@ The Cloud IDE needs explicit action to save your changes. There are three ways y
- **Unsaved, local code —** The browser stores your code only in its local storage. In this state, you might need to commit any unsaved changes in order to switch branches or browsers. If you have saved and committed changes, you can access the "Change branch" option even if there are unsaved changes. But if you attempt to switch branches without saving changes, a warning message will appear, notifying you that you will lose any unsaved changes.
-- **Saved but uncommitted code —** When you save a file, the data gets stored in durable, long-term storage. To access the Change branch option, you must "Commit and sync" or "Revert" changes. To ensure your uncommitted changes don't get lost, changing branches isn't available for saved-but-uncommitted code. This is because the state hasn’t been synced back to git.
+- **Saved but uncommitted code —** When you save a file, the data gets stored in durable, long-term storage, but isn't synced back to git. To switch branches using the **Change branch** option, you must "Commit and sync" or "Revert" changes. Changing branches isn't available for saved-but-uncommitted code. This is to ensure your uncommitted changes don't get lost.
- **Committed code —** This is stored in the branch with your git provider and you can check out other (remote) branches.
## Access the Cloud IDE