Actions30
Git → Pull
AI-generatedSummary
Pull changes from a remote Git repository into a specified local repository path inside an E2B sandbox, optionally specifying remote, branch, and authentication credentials.
Inputs
- Sandbox ID (required) — ID of the sandbox to work with.
- Repository Path (required) — Path to the git repository inside the sandbox.
- Remote Options — Options for the remote repository, including optional remote name (e.g., origin), branch name to pull, HTTPS username, and password or personal access token for authentication.
- Timeout — Timeout in seconds for the E2B operation; defaults to 300 seconds.
Output shape
a single JSON object containing the result of the git pull operation, including success status, exit code, standard output, standard error, and any error messages
Throws an error if authentication fails, if the upstream branch is not configured, or if the operation encounters other git errors. Authentication credentials must include a username if a password or token is provided. If no remote or branch is specified and there is no upstream branch configured, an error is raised.