Guides
Review and merge
Before a branch joins main, look through what it changed. Bring it up to date with main, then merge it.
Looking through the changes
- In "Branches", in the project's sidebar, right-click the branch.
- Choose "Checkout", to make it the branch your project folder shows.
- Click "Changes" in the project's sidebar.
- Look through each file. Images and 3D models show "Before" and "After" side by side.
- Tick "Viewed" on each file you've checked.
The counter at the top shows how many files you've viewed. It says "all viewed" when you're done.
Commenting on changes
You can comment on a whole file, or on some of its lines, in "Changes". Each comment starts a conversation that stays with the file and lines it's about. Conversations are kept on the hub, so everyone who can see the branch can read them and reply in the desktop app.
"Changes" shows the branch your project folder shows. To comment on a teammate's branch, check it out first, as in "Looking through the changes" above.
In a text file, each line shows two numbers: its number before the change and after it. A removed line has only the first, and an added line only the second. In step 4, you can click either number.
- Click "Changes" in the project's sidebar.
- Find the file you want to comment on.
- Click the speech bubble at the top right of the file to comment on the whole file.
- Or, to comment on lines of a text file, click a line number on the left. To pick more than one line, drag down the line numbers, or hold Shift and click another one.
- Type your comment in the "Leave a comment" box. For a whole file it opens under the file. For lines, it opens under the last line you picked.
- Tick "Needs action (to-do)" if someone has to do something about it.
- Click "Comment".
Commit your own edits to a file before you comment on it. Edits you haven't committed aren't on the hub yet. The comment box says so, with a "Commit…" button that takes you to "Pending", where your edits wait to be committed.
Notes and to-dos
A comment is a note unless you mark it as a to-do. A note needs nothing more from anyone. A to-do wears a round check: amber and empty until someone marks it done, then filled green.
- To turn a note into a to-do, click the three dots on its first comment and choose "Mark as to-do".
- To mark a to-do done, click "Done" at the bottom of its card, or click its round check.
- To open it again, click "Reopen", or click the green check.
The Review row in the project's sidebar counts the branch's to-dos, such as "1/3": one done out of three.
Finding comments
In "Changes", each file's comments are listed under it in the file list. Click one to go to its card.
- The speech bubble with a number, at the top of the file list, counts the conversations still open: notes, and to-dos not yet done. Click it to show or hide every comment.
- Press N for the next conversation and P for the one before it.
The app checks for new comments every 30 seconds.
Replying
Each conversation is a card that shows who wrote each comment. In a text file it sits under the lines it's about. The face of the person who started it marks its last line, beside the line numbers, and a bar marks its other lines. Conversations on a whole file, or on a picture, video or 3D model, sit under the file.
- Click "Reply" at the bottom of the card.
- Type your reply.
- Click "Reply" to send it.
To change a comment you wrote, click the three dots beside it and choose "Edit…". To remove a reply you wrote, choose "Delete". A conversation's first comment can be changed but not deleted.
Done to-dos show folded. Under a file, they sit behind a "1 done" link: click it to see them.
A card can show one of these words next to its number:
- Outdated: someone changed the lines after the comment. The card sits where those lines are now. Click "Show what was commented on" to see the old version.
- On another version: this version of the file can't show the conversation. Its lines are gone, or the comment was about a different version. A message under the file counts these conversations.
- Done: someone marked the to-do done.
"Show what was commented on", and the "Open the … version" button in that message, open the hub in your web browser. It shows the file's change in the commit the comment was made on.
The Review page
Click "Review" in the project's sidebar to see the branch's whole story in one place: its commits and all its comments. Comments on the branch as a whole are written in the box at the bottom of the page.
Each comment on a file sits in the timeline at the time it was made. A to-do still waiting shows its whole card, so you can reply or click "Done" right there. A note or a done to-do shows as one line: click it to open its card, and click "Fold" to close it again. "Show in Changes" opens the comment on its file.
At the bottom, the merge box lists the branch's checks:
- Build: whether the branch's newest commit built. A build is an automatic check that the project still works. This line shows once the newest commit has one. Click it to open the build's page.
- To-dos: how many are done, such as "1/3". Click a to-do to go to its card. Click "To-dos" to fold the list.
The "Merge" button at the bottom of the box merges the branch, as "Merge…" in "Merging" below does. Leave "Close branch on merge" ticked beside it, unless you'll keep working on the branch. To-dos still waiting don't stop a merge, so check them first.
Asking an agent to review
An agent can read the branch's changes and tell you what they do. There's no review button: you ask in a session.
- Click the "+" next to "Agents" in the sidebar, or press ⌘N (Ctrl+N on Windows and Linux).
- Choose the project and the branch.
- Ask it to review the changes before you merge.
Bringing it up to date
Every branch has a target: the branch it will merge into, usually main. If the target has moved on since your branch started, update your branch first. A red down arrow and a count on the branch show how many commits it's behind.
- In "Branches", in the project's sidebar, right-click the branch.
- Choose "Update…".
- Read what the "Update branch" window says.
- Click "Update".
Your commits stay, with your changes in them. Filament moves them to after the target's newest commits, so your files hold the target's newer changes as well as your own. Look through the changes again to check that everything still works together.
If it says "This branch has conflicts", click "Update and pick what to keep…". You choose which version to keep straight after.
Merging
- In "Branches", in the project's sidebar, right-click the branch.
- Choose "Merge…".
- Check "Into:". It's always your branch's target, so you can't change it here.
- Leave "Close source branch" ticked, unless you'll keep working on the branch. The source branch is the one you're merging.
- Click "Merge".
Filament confirms with "Merged". If you were on that branch and "Close source branch" was on, it says "Merged and switched". You're then on the branch it merged into.
If nothing new has landed on the target since your branch started or was last updated, your commits go onto it one by one. Otherwise Filament adds one merge commit that holds all your branch's changes. How merging works
"Merge" stays grayed out while Filament expects conflicts. The window offers "Resolve with Filament AI" instead.
Merging on the hub
You can also merge a branch on the hub's website. The hub shows "Merge" only while the branch is open, and only to people who may merge it. Its owner and project admins may.
- In "Branches", in the project's sidebar, right-click the branch.
- Choose "Open in Hub". The branch opens in your browser.
- In the gray row under the page's top bar, click the "Merge" tab. In a narrow window, it may be under "More".
- Check that the page says "Ready to merge". It lists the files the merge brings into the target.
- Leave "Close Branch & Conversation" ticked, unless you'll keep working on the branch. The conversation is the branch's "Conversation" page on the hub, where people discuss it.
- Click "Merge".
The page then says "Branch merged!".
If the page says "Branch is behind", click "Update" first. If it says "Can't merge without conflicts", resolve them before you merge. Conflicts shows how.
Afterwards
A closed branch keeps all its commits. To bring it back, point at "Branches" in the project's sidebar, click its filter button, and choose "Show closed branches". Right-click the branch and choose "Reopen".
To remove a branch, right-click it in "Branches" and choose "Delete". The app calls this permanent, so close branches you might need again.
Main can't be merged, closed or deleted.