# git: Add support for git pull with rebase \(\#41117\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/982f2418f414107c7b08767edc2e3debe5431328)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 982f2418f414107c7b08767edc2e3debe5431328

Requested commit: 982f2418f414107c7b08767edc2e3debe5431328

Commit: 982f2418f414107c7b08767edc2e3debe5431328

Tree: 139d119cb9fac43fd0d60c41bfad9dd840e41b53

Author: Sathiyaraman M

Committer: GitHub

## Message

```
git: Add support for git pull with rebase (#41117)

- Adds a new action `git::PullRebase` which adds `--rebase` in the final
command invoked by existing Git-Pull implementation.
- Includes the new action in "Fetch/Push" button in the Git Panel
(screenshot below)
- Adds key-binding for `git::PullRebase` in all three platforms,
following the existing key-binding patterns (`ctrl-g shift-down`)
- Update git docs to include the new action.

Sidenote: This is my first ever OSS contribution

Screenshot:

<img width="234" height="215" alt="image"
src="https://github.com/user-attachments/assets/713d068f-5ea5-444f-8d66-444ca65affc8"
/>

---

Release Notes:

- Git: Added `git: pull rebase` for running `git pull --rebase`.
```

## Parents

- [9f580464f0de5f61b8e08cadfbe75205872af8c7](https://git.cafe/gitcafe/zed/commit/9f580464f0de5f61b8e08cadfbe75205872af8c7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/982f2418f414107c7b08767edc2e3debe5431328?format=markdown)
