Reference

Commit files

Write, change or remove files on a branch as one commit.

const work = sky.disk("acme", { branch: "agent-42" });
const { commit } = await work.write({ "notes.md": "hello", "todo.md": "ship docs" }, { message: "add notes" });
await work.delete("todo.md", { message: "drop the todo" });