Context:
1 Context
By committing, the changes we made in our workspace are permanently saved to our branch. To do this, we need to export the changes from B1 to Gitpod and then commit.
2 Result
3 Step by step guide
- Navigate to the section “Deliver” -> “Changed Objects”
- Click on “Export Changes”
- Go back to Gitpod on the “Source Control” tab
- Stage your changes by clicking in the + button next to the number of changed files (Under the Commit orange button)
- Type in a message to identify your commit
- Click on “Commit” to create the commit
- Click on “Sync” and accept the popup
This will add the changed files to the commit
4 Explanation
By committing and pushing, the changes we make in our workspace are permanently recorded on our branch. This triggers a pre-build of our code in Gitpod, which significantly speeds up the spin-up of the next workspace. When we start a new workspace based on this branch, our committed changes are available here.