File syncTerminal sync

Sync push

Push client file changes to Team OS.

A Team Member needs a write client grant to push files. Users with Full access have implicit write access to every active client in the Team.

The source can be a workspace folder that contains clients/acme:

npm run team -- sync push --client acme --src $pull

The source can also be the client folder itself:

npm run team -- sync push --client acme --src "$pull\clients\acme"

For existing remote files, pull before pushing.

If the local state does not have a base SHA, the command stops with this message:

No base version for clients/acme/context/notes.md. Run sync pull before pushing existing files.

Next: Sync conflicts