# Fix creating branch with base in remote \(\#55387\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 648f7920192720b728a0e767df192871cd03e83c

Requested commit: 648f7920192720b728a0e767df192871cd03e83c

Commit: 648f7920192720b728a0e767df192871cd03e83c

Tree: 6877979087f09b97e88b5876fed2972b85e1464f

Author: boaz-h

Committer: GitHub

## Message

```
Fix creating branch with base in remote (#55387)

To support branch create with base branch, added extra optional field in
GitCreateBranch proto.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Closes #43985

Release Notes:

- git:  Fixed remote branch creation based on default branch
```

## Parents

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

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