Git Pull
git_pullFetch and integrate changes from remote Git repositories into your local branch to synchronize your codebase with upstream updates.
Instructions
Pull changes from a remote repository. Fetches and integrates changes into the current branch.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Path to the Git repository. Defaults to session working directory set via git_set_working_dir. | . |
| remote | No | Remote name (default: origin). | |
| branch | No | Branch name (default: current branch). | |
| rebase | No | Use rebase instead of merge when integrating changes. | |
| fastForwardOnly | No | Fail if can't fast-forward (no merge commit). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Indicates if the operation was successful. | |
| remote | Yes | Remote name that was pulled from. | |
| branch | Yes | Branch that was pulled. | |
| strategy | Yes | Integration strategy used. | |
| conflicts | Yes | Whether pull had conflicts. | |
| filesChanged | Yes | Files that were changed. |