What problem does it solve?
Cross-platform development of UniClipboard requires the same uncommitted changes to run on both a macOS host and a Windows peer at once. Manually copying files with scp or SMB mounts loses deletions, ignores exclude rules, and risks overwriting a different commit on the Windows side.
Core Features & Use Cases
- Working-tree mirroring: rsyncs the set of files git considers tracked plus untracked-not-ignored from the Mac to the Windows repo, and removes files deleted on the Mac via a remote rm pass.
- Safety checks: Verifies SSH login, remote rsync availability, and that the Windows path is a valid git repo before any push; supports dry-run previews of the rsync plan.
- Remote diagnostics and setup: Probes the Windows side for its default shell, rsync, git, winget, and scoop, and can install rsync user-scope without admin rights.
- Use Case: A developer edits UniClipboard source on a Mac, runs the status and diff commands to confirm both repos are aligned, then pushes the working tree to the Windows machine to test cross-platform clipboard sync behavior immediately.
Quick Start
Ask the assistant to sync your current uncommitted changes to the Windows machine, and it will run the sync-to-win script's status, diff, and push commands in sequence.