Each person works on a copy of the site on their own computer. Splitleaf keeps the copies in step and shows who works on which page. When two people change the same item, Splitleaf never overwrites one version by itself. It asks.
How your team's work reaches you
| Way | What happens |
|---|---|
| Stage | Your team sees the items under Staged. Nothing goes live. See Staging. |
| Publish | The items go live. Every copy of the site gets them at the next sync. |
Your changes stay on your computer until you stage or publish them.
Team sync
Splitleaf gets your team's published changes:
- every 20 seconds,
- when you go back to the App window,
- before each stage and each publish.
Splitleaf merges the changes into your copy. It merges each file, each CSS rule and each setting on its own, so two people can change different parts of one stylesheet.
Note: When your copy is behind the live site, the Publish screen says: "Your team published changes you don't have yet." Splitleaf gets them by itself. Wait a moment.
The sync pill
The sync pill is in the top bar of the Design panel. It is quiet while everything is in step. It shows a word when something needs your attention:
| Word | Meaning |
|---|---|
| Needs input | An item changed here and on another computer. Make a choice in the panel at the bottom left. |
| Updated | Splitleaf merged a teammate's changes into your copy |
| Reload | A teammate changed the site settings. Reload to see them. |
| Offline | Editing works. Splitleaf shares your changes when you are back online. |
| Sync failed | Splitleaf cannot check for changes |
| Sign in | Sign in again, or connect GitHub again |
| Not synced | No check worked for some time |
Click the pill to see more:
- Last checked: when Splitleaf last looked for changes.
- External update: when a teammate's change last came in, and from whom.
- GitHub: the repository of the site.
- The team: who is online, who edits which page, and when the others were last online.
- Sync now: look for changes now.
- Publishing settings: open Site settings on the Publishing tab.
A teammate edits the same page
When you open a page that a teammate edits, the App says so. Example: "Sam Lee is editing Home".
| Button | Result |
|---|---|
| Go back | Opens the page you had open before |
| Edit anyway | Opens the page for edits. If you both change the same thing, the App asks which version to keep. |
Conflicts
A conflict is one item with two versions. Example: you and a teammate both changed the Home page.
On the Publish screen
A row shows Conflict when the same item changed in more than one place:
- On Your changes: a teammate staged another version of the item.
- On Staged: you changed the item on your computer, or the live site changed it after it was staged.
Hold the pointer over Conflict. The text says who else changed the item and gives a tip. Open the card to see both versions. On Staged, the item opens compared to Your changes.
Make a choice
When team sync finds two versions of one item, a panel opens at the bottom left: "1 item needs your input". Team sync waits until you choose.
- Click Compare to see both versions side by side.
- Click Keep mine or Use theirs. Or click Decide later in the compare window.
| Button | Result |
|---|---|
| Keep mine | Your version stays in Your changes |
| Use theirs | The other version replaces yours on your computer |
When a publish or a stage waits for your choice, the buttons say what goes:
| Button | Result |
|---|---|
| Skip item | Your version stays in Your changes. It is not published or staged. |
| Publish theirs or Stage theirs | Their version replaces yours and goes on |
The publish or the stage continues after your choice.
Note: The other version can be the live version, with no person named. This happens when you published the item from another computer or from Staged.
When a file changed on disk
Another program can change a file that you have open, for example the agent or your IDE. For what the App does then, see When you also edit in the App.
Two publishes at the same time
When a teammate publishes while your publish uploads, Splitleaf starts your publish again one time, with their changes in it. If that also fails, the App says: "Someone on your team published while yours was uploading. Publish again."
Two stages at the same time work the same way. A stage keeps what the teammate staged.
Changes made outside Splitleaf
A developer can change the site on GitHub, for example with a merge. With Vercel or Manual hosting, that change is not live yet: Splitleaf builds and uploads the site.
The Publish screen then shows Changed outside Splitleaf: "The site changed on GitHub. These changes are not live yet." Click Publish to put them live.
Note: When you also have changes of your own, the message has no Publish button. Your next publish puts the outside changes live too.