# git: Improve self-hosted provider support and Bitbucket integration \(\#42343\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b948d8b9e7e445dc24b473146cae7e1abcd03e13

Requested commit: b948d8b9e7e445dc24b473146cae7e1abcd03e13

Commit: b948d8b9e7e445dc24b473146cae7e1abcd03e13

Tree: a1beee0f5eb00aeffc145a46ff2e7bc2afce77dc

Author: ᴀᴍᴛᴏᴀᴇʀ

Committer: GitHub

## Message

```
git: Improve self-hosted provider support and Bitbucket integration (#42343)

This PR includes several minor modifications and improvements related to
Git hosting providers, covering the following areas:

1. Bitbucket Owner Parsing Fix: Remove the common `scm` prefix from the
remote URL of self-hosted Bitbucket instances to prevent incorrect owner
parsing.
[Reference](https://github.com/gitkraken/vscode-gitlens/blob/a6e3c6fbb255116507eaabaa9940c192ed7bb0e1/src/git/remotes/bitbucket-server.ts#L72-L74)
2. Bitbucket Avatars in Blame: Add support for displaying Bitbucket
avatars in the Git blame view.
<img width="2750" height="1994" alt="CleanShot 2025-11-10 at 20 34
40@2x"
src="https://github.com/user-attachments/assets/9e26abdf-7880-4085-b636-a1f99ebeeb97"
/>
3. Self-hosted SourceHut Support: Add support for self-hosted SourceHut
instances.
4. Configuration: Add recently introduced self-hosted Git providers
(Gitea, Forgejo, and SourceHut) to the `git_hosting_providers` setting
option.
<img width="2750" height="1994" alt="CleanShot 2025-11-10 at 20 33
48@2x"
src="https://github.com/user-attachments/assets/44ffc799-182d-4145-9b89-e509bbc08843"
/>


Closes #11043

Release Notes:

- Improved self-hosted git provider support and Bitbucket integration
```

## Parents

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

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