How do I ignore files from being synced with Obsidian-Sync?

It’s not possible at the moment.

Existing feature request: Obsidian Sync Exclude single file