Change your app
Branches
Try changes on a copy of your app while the app and its published site stay as they are, then merge them in, or show the copy to somebody with a link.
A branch is a copy of your app to try changes on. It has its own chat and its own History, while the app and its published site stay exactly as they are. When you like what you made, you merge it into the app. When you do not, you delete the branch and nothing else has moved.
Make a branch
The chip beside the app's name at the top of the editor says where you are: Main for the app itself, or the branch's name. Open it and choose New branch, give it a name, for example "New design", and press Make the branch. On a phone, Branches is in the menu behind the three dots.
How many branches one app can have at once depends on the plan of the account that pays for it:
| Plan | Branches per app |
|---|---|
| Free | 1 |
| Pro | 5 |
| Business | 20 |
Work in a branch
A blue strip under the top bar says Branch: and the branch's name. Ask for changes in the chat as you would in the app: they go into the branch only.
- It runs on the app's real data. Its records, sign-ins and saved keys are the app's, so you see the change with real content. Whatever the branch saves, the app has too.
- It is never published. Publish, Manage and sharing stay on the app.
- Back to the app in the strip, or Main in the chip, takes you back.
Merge it into the app
Merge into followed by the app's name, in the blue strip, brings the branch's changes into the app. A window lists each file that is Added, Changed or Removed. You can also start a merge from the list of branches, with the merge button beside a branch.
Changes to different parts of a file are combined for you. A file changed in the app and in the branch in the same places is listed under Changed in both, and you choose for each one:
- Keep the app's: the app's version stays.
- Take the branch's: the branch's version replaces it.
- Combine with AI: the AI writes the file once with both changes in it. The price in credits is on the button and depends on the size of the file, and if the result cannot be used, nothing is taken. Choosing it again after it came back costs nothing.
Delete the branch afterwards is ticked to begin with. Press Merge into and the app opens with the changes in it.
The merge is saved in the app's History as a version of its own, named Merged the branch and the branch's name, so you can go back to the version before it. If the app changed while the window was open, nothing is merged: open the branch and merge again.
Show it with a link
Share preview, in the blue strip, makes a link anybody can open, without an account, to see the branch as it is now. Press Make a link and copy it.
- The link works for seven days.
- New link makes another one, and the old one stops working.
- Stop sharing ends it at once.
- The branch runs on the app's real data, as the published site does. Keys the app uses, for payments or AI, do not work in the preview.
Delete a branch
Open the chip beside the app's name, press the bin beside the branch, then Delete. Deleting a branch never touches the app.
Was this page helpful?
