# git: Check push config before falling back to branch remote \(\#41700\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 87e3d6e014d78c4be00c8d24f7935f60455e5851

Requested commit: 87e3d6e014d78c4be00c8d24f7935f60455e5851

Commit: 87e3d6e014d78c4be00c8d24f7935f60455e5851

Tree: e0f7b46b281c2aeefbf22b73d5668eb972a97795

Author: Mayank Verma

Committer: GitHub

## Message

```
git: Check push config before falling back to branch remote (#41700)

Closes #26649

Release Notes:

- Improved git support for remotes handling. Git will now check pushRemote and pushDefault configurations before
falling back to branch remote.

---------

Co-authored-by: Jakub Konka <kubkon@jakubkonka.com>
```

## Parents

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

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