Draft branches
Try a different version of your story, then keep the changes that you want.
What a branch is
A branch is a separate copy of your story in the same project. Use a branch to try a change, for example a new scene order or a different end to the story. The original version stays as it is. The original version is the branch named main.
All the branches are in your one .braidr file. When you copy or sync the file, its branches go with it. See File format.
What a branch holds
Each branch has its own copy of these items:
- The characters, the sections and the chapters.
- The scenes, their order in the braid and their order in each POV.
- The scene text and its saved versions.
- The scene comments, and the tags and properties of each scene.
- The story dates and the world events.
- The archived scenes.
All branches share these items:
- Tasks and notes.
- The session history and the goals on the Analytics screen.
- The list of tags and the list of scene property fields.
A change to a task or a note shows on all branches.
The branch switcher
The branch switcher is under the project name, at the top of the sidebar. It shows the name of the branch that is open. Click it to see the list of branches and these commands:
- + New Branch: makes a new branch.
- Compare: compares two branches. It shows when the project has one or more branches.
- Merge to Main: copies scenes from the open branch into main. It shows when a branch other than main is open.
To close the list, push Esc or click outside it.
Create a branch
- Click the branch switcher.
- Click + New Branch.
- Type a name for the branch.
- Optional: type a description.
- Click Create, or push Enter.
A branch name has only lowercase letters, numbers and hyphens. Braidr changes each space to a hyphen and removes other characters.
The new branch starts as a copy of the branch that is open. Braidr then opens the new branch.
Switch to a different branch
- Click the branch switcher.
- Click the name of the branch. To go back to the original version, click main.
Braidr saves the branch that is open, then opens the branch that you select.
Compare two branches
- Click the branch switcher.
- Click Compare. The Compare Branches window opens.
- In Base, select the branch to compare against.
- In Branch, select the other branch.
The window shows the scenes that are different on the two branches. Each changed scene has a label, for example Moved, Renamed, Benched, Added or Deleted. A line under the scene tells what the branch did to it.
- To see only one type of change, click its count at the top, for example “3 Moved”. Click it again to see all changes.
- To see the scenes with no change too, click Show all. The button also shows the number of scenes, for example “Show all 54”. To hide these scenes again, click Changes only.
- To see the text of a scene on the two branches side by side, click the scene.
Scenes that are only on the branch show at the bottom, under “Added on” and the branch name.
Merge a branch into main
A merge copies scenes from a branch into main. You select the scenes to copy. A merge always copies into main.
Merge from the branch switcher
- Open the branch that you want to merge.
- Click the branch switcher.
- Click Merge to Main. A list of the scenes opens, with all changed scenes selected.
- Clear the check box of each scene that you do not want to copy. To select or clear all changed scenes, click Select All Changed or Deselect Changed.
- Click the merge button, for example Merge 4 Scenes.
Merge from Compare
- Open Compare.
- In Base, select main.
- In Branch, select the branch that you want to merge.
- Clear the check box of each changed scene that you do not want to copy. At the start, all changed scenes are selected.
- Click the merge button, for example Merge 4 → main.
After the merge, Braidr opens main. The branch stays in the project. To remove it, delete it.
⚠️ Note
Delete a branch
You cannot delete the branch that is open. Open a different branch first.
- Click the branch switcher.
- Click × next to the branch.
- Click Delete.
⚠️ Note
One device at a time
Only one device can edit a project at a time. This lock is for the full project, with all its branches.
If you open a project that is open on a different device, Braidr shows Project already open and the name of that device.
- Click Take Over to open the project on this device. The project closes on the other device, and that device shows a message.
- Click Cancel to leave the project open on the other device.
If a different device saved the project a short time ago, Braidr can show iCloud may still be syncing. If you open the project too soon, you can lose data. Braidr waits, then opens the project. To open it before the wait ends, click Open Anyway.