# Refactor Git hosting providers \(\#11457\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bb1817ff31ff0d6c51e91a6a258c5c1ba930c16c

Requested commit: bb1817ff31ff0d6c51e91a6a258c5c1ba930c16c

Commit: bb1817ff31ff0d6c51e91a6a258c5c1ba930c16c

Tree: 82da57ad38a9f9f5022200f80815465aaa0a1113

Author: Marshall Bowers

Committer: GitHub

## Message

```
Refactor Git hosting providers (#11457)

This PR refactors the code pertaining to Git hosting providers to make
it more uniform and easy to add support for new providers.

There is now a `GitHostingProvider` trait that contains the
functionality specific to an individual Git hosting provider. Each
provider we support has an implementation of this trait.

Release Notes:

- N/A
```

## Parents

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

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