Recommended Workspaces Usage
About 169 wordsLess than 1 minute
Recommended Workspaces Usage gives the recommended flow from creating a branch through merging.
When to use: when you write code in a Workspace for the first time — following this order avoids an environment being recycled early or being unavailable during code review.
Recommended flow
- Create a development branch for your feature.
- Enter the environment for that branch, write code, commit, and create a pull request (the environment is recycled automatically).
- If revisions are needed during code review, reopen the environment from the same branch, make the changes, and commit again.
- Repeat steps 2–3 until the code review passes.
- Once the pull request is merged into the target branch, delete the development branch.
Running multiple features in parallel
Create a separate branch for each feature and repeat the flow above.