Skip to content

The CLI

Every command of npx @sypnia/git.

Applies to EngineCloud
View as Markdown
On this page
  1. git login / git logout
  2. git create <owner/name>
  3. git import github <owner/repo>
  4. git export github <owner/repo>
  5. git mirror github <owner/repo>
  6. git keys / git deploy-keys
  7. git tokens create
  8. git pr / git issue
  9. git log --case <id>

git login / git logout

Cloud
Signs in with your Sypnia account and installs the credential helper, so plain git uses your session (The Sypnia session).

git create <owner/name>

Cloud
Creates a repository. Flags: --private (default), --internal, --public.

git import github <owner/repo>

Cloud
Brings a repository, or an organization with --org, from GitHub (From GitHub).

git export github <owner/repo>

Cloud
Moves a repository to GitHub; export archive writes a file instead (To GitHub).

git mirror github <owner/repo>

Cloud
Keeps a read-only copy of the repository on GitHub, updated on every push to Sypnia Git; --stop ends it (Mirroring).

git keys / git deploy-keys

EngineCloud
Adds, lists and removes SSH keys and deploy keys. On a self-hosted engine, keys host-records prints the SSHFP records of its host keys.

git tokens create

Cloud
Creates an HTTPS token: --repo, --scope, --expires (required).

git pr / git issue

Cloud
Opens, lists, checks out and merges pull requests; creates issues and links them to a use case with --case <id>.

git log --case <id>

EngineCloud
Lists the commits of one use case, from their Case: trailers: --since, --until, --repo.

All commands run as npx @sypnia/git …; the names above leave out the prefix.

  1. git login / git logout
  2. git create <owner/name>
  3. git import github <owner/repo>
  4. git export github <owner/repo>
  5. git mirror github <owner/repo>
  6. git keys / git deploy-keys
  7. git tokens create
  8. git pr / git issue
  9. git log --case <id>

    Search pages, sections and terms