Optionaldescription: stringawait git.add()
await git.commit("feat: add new API")
await git.commit(
"fix: handle empty input",
"This fixes a bug where empty input caused a crash.",
)
await git.commit("chore: release", { flags: ["--amend"] })
await git.commit(
"feat: improve API",
"Adds better typing and docs.",
{ flags: ["--signoff"] },
)
Record changes to the repository.
Optionalopts: CommitOptionsawait git.add()
await git.commit("feat: add new API")
await git.commit(
"fix: handle empty input",
"This fixes a bug where empty input caused a crash.",
)
await git.commit("chore: release", { flags: ["--amend"] })
await git.commit(
"feat: improve API",
"Adds better typing and docs.",
{ flags: ["--signoff"] },
)
Record changes to the repository.
Optionaldescription: stringOptionalopts: CommitOptionsawait git.add()
await git.commit("feat: add new API")
await git.commit(
"fix: handle empty input",
"This fixes a bug where empty input caused a crash.",
)
await git.commit("chore: release", { flags: ["--amend"] })
await git.commit(
"feat: improve API",
"Adds better typing and docs.",
{ flags: ["--signoff"] },
)
Record changes to the repository.