Documentation / Projects and Collaboration

Save and Sync

Save, commit, push and pull changes in a Workspaces project, and settle files that changed on both sides.

Save your edits, then push them so your team gets them. Pull to get what your team pushed. This page covers projects in Workspaces.

Save, Commit, Push and Pull

ActionWhat it does
SaveWrites your edits to the files on this computer.
CommitKeeps a checkpoint of your saved changes on this computer. Nobody else sees it.
PushSends your changes and commits to the cloud, on the branch you are on.
PullBrings your team's latest pushed changes into your working copy.

Nothing is published until you push. Saving and committing keep your work on this computer only.

Push your changes

  1. Save your schematic and board.

  2. In Workspaces, open the Changes tab. It lists every changed file. Select one to preview it: schematics and boards list each part and other item that changed, and from Trace 3.2 boards also show parts that were rotated or flipped to the other side, not only moved.

  3. Type a short summary in the box under the list. Commit and Push need one.

  4. Press Push N changes to BRANCH to send them now. Push commits for you.

    Or press Commit N changes to BRANCH to keep a checkpoint on this computer first. When you're ready, press Push commits to BRANCH.

  5. Wait until the status says the push is done.

The History tab lists what was pushed to the branch. Commits that you haven't pushed yet don't appear there.

If a teammate pushed to the same branch since you last pulled, Workspaces asks you to pull first. Pull, check the result, then push again.

Pull your team's changes

When teammates have pushed, the button at the top right of Workspaces shows Pull.

  1. Save your schematic and board. Trace asks you to save or discard unsaved edits before it pulls.
  2. Press Pull.
  3. Trace merges your team's changes with yours and reloads the editor.
  4. Check the result and run ERC and DRC.

Your project's design rules and Board Setup settings stay as they were after a pull. Before Trace 3.2, they could reset to a new board's defaults.

When the same file changed on both sides

Trace merges schematics and boards part by part, so most changes merge on their own. When you and a teammate changed the same thing, Changes shows Resolve conflicts with each file. For each file:

  • Keep mine keeps your version.
  • Take theirs takes your teammate's version.
  • Merge combines both where they don't overlap.
  • Suggest merge, for schematics and boards, uses AI to suggest a choice for each changed part. Check the suggestions, then press Apply suggestions.

Press Show panes to compare both versions. When every file has a choice, press Apply. To stop instead, press Abort merge: your files go back to how they were before the pull.

New in Trace 3.2: cases from Trace Mechanical merge feature by feature. Where both sides changed the same feature, the assistant works out the merged version from what moved on the board and gives its reasons. Review them, then press Apply choices.

Discard changes

Discard changes in the Changes tab throws away every edit you haven't committed, including new files that aren't ignored. Your commits are kept. You can't undo a discard, so check the list first.

Choose what gets shared

Ignore rules in the Changes tab opens the project's .traceignore. Write one pattern per line, the same way as a .gitignore. Matching files stay on your computer and don't show up as changes.

Don't ignore .xo files: a sheet or board needs its drawing file. See Projects.

What is shared with everyone who can open the project:

  • your design files, libraries, artifacts and Trace Mechanical cases;
  • the design notebook in .trace/context.md;
  • firmware notes in .trace/firmware/.

What stays on your computer: your personal rules in .trace/rules.md (see TraceRules), your local history and your chats.

Read-only and offline

  • A project you can only view shows Read only. You can pull, but you can't commit or push.
  • Without a connection, Workspaces says it is offline. Projects already on this computer stay available, and you can keep editing and saving. Push and pull when you're back online.

If a push or pull doesn't finish

Workspaces says what happened and what to press, for example Retry push, Check push or Retry pull. Check push only asks the server what happened; it never pushes twice. Your changes and commits stay on this computer until a push finishes.

See If something goes wrong.