立即开始
GitLab Tools

Gitlab Create Commit

通过 Aident Loadout 使用 GitLab Tools 的 Gitlab Create Commit。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Creates a new commit with multiple file operations in a GitLab project. This action supports batch operations including creating, updating, deleting, moving files, and changing file permissions in a single atomic commit. Use this action when you need to perform multiple file cha…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • forceboolean
    When true, overwrites the target branch with a new commit history. Use with caution as this rewrites Git history.
  • statsboolean
    Include commit statistics (additions, deletions, total) in the response. Defaults to true.
  • branchstring
    必填
    Target branch name where the commit will be created.
  • actionsarray
    必填
    List of file operations to perform in this commit. Each action represents a file change (create, update, delete, move, or chmod).
  • start_shastring
    SHA of the commit to start the new commit from. Must be a 40-character SHA-1 hash.
  • project_id
    必填
    The ID or URL-encoded path of the project.
  • author_namestring
    Author name for the commit. Defaults to the authenticated user's name.
  • author_emailstring
    Author email address for the commit. Defaults to the authenticated user's email.
  • start_branchstring
    Name of the branch to start the new commit from. If not provided, uses the target branch.
  • start_project
    Project ID or URL-encoded path of the source project for the parent commit. Used when creating commits from another project's branch.
  • commit_messagestring
    必填
    The commit message describing the changes.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源