Daytona icon

Daytona

Manage Daytona sandboxes, snapshots, and volumes; run code and shell commands; drive a full Git pipeline; and manage the sandbox filesystem

Git → Commit

AI-generated

Summary

Create a Git commit from the staged changes in a repository inside a Daytona sandbox, recording the supplied message and author details. Optionally allow a commit when no files are staged.

Inputs

  • Sandbox ID (required) — ID of the sandbox containing the repository.
  • Path (required) — Absolute path to the Git repository inside the sandbox.
  • Message (required) — Commit message.
  • Author (required) — Author name to record in the commit.
  • Email (required) — Author email to record in the commit.
  • Allow Empty Commit — Optional setting, off by default; enable to create a commit when no files are staged.

Output shape

A single item with a JSON object

The object includes success, sandboxId, path, message, author, and email; hash contains the commit hash returned by Daytona when provided.

Links

Discussion