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 → Add

AI-generated

Summary

Stage one or more files in a Git repository inside a Daytona sandbox, preparing them for a later commit.

Inputs

  • Sandbox ID (required) — ID of the sandbox containing the repository.
  • Path (required) — Absolute path to the Git repository inside the sandbox.
  • Files (required) — Comma-separated paths to stage. Defaults to “.” for all files; blank entries are ignored, and an empty list raises an error.

Output shape

A single item with a JSON object.

On success, the object contains success: true, the sandboxId, repository path, and files as an array of staged paths. The operation stages files but does not create a commit.

Links

Discussion