CLI Synchronization

Synchronize commits directly through the CLI without webhook integration.

Overview

CLI synchronization manually triggers FirmwareCI to process a specific commit. Use this when webhooks are unavailable or for testing purposes.

Requirements

  • Commit must be checked out locally
  • No uncommitted changes in working directory
  • Commit must be pushed to remote repository
  • fwci CLI tool authenticated

Command

Run synchronization from your repository:

$ fwci synchronization

Example output:

Logged in as user@example.com in https://github.com/owner/repo.git@abc1234

commit abc123456789def...
Author: User Name <user@example.com>
Date:   Tue Apr 01 08:56:21 2025 +0000

    feat: add FirmwareCI infrastructure

Force Synchronization

Use the --force or -f flag to bypass requirements for local commit checkout and uncommitted changes:

$ fwci synchronization --force

or

$ fwci synchronization -f

See Also