git_command
Execute Git subcommands in a controlled local repository. Blocks destructive operations such as push, force, and delete while allowing other mutating commands.
Instructions
Voer één Git-subcommando uit in een toegestane lokale repository.
path moet onder allowed_write_dirs vallen en een .git-directory
bevatten. command bevat alles na git -C <path> en wordt met
shell-achtige argumentquoting opgesplitst, zonder shelluitbreiding.
Push, force, delete, branch -d en reset --hard worden geblokkeerd;
andere muterende Git-commando's kunnen de repository wel wijzigen.
De timeout is 30 seconden en stdout, stderr en exitcode worden geretourneerd.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||