abhinav / git-spice

Manage stacked Git branches
https://abhinav.github.io/git-spice/
GNU General Public License v3.0
220 stars 11 forks source link

Configurable forge kinds #336

Open abhinav opened 2 months ago

abhinav commented 2 months ago

Right now, the way we determine the code forge is by matching the remote URL.

For GitHub, it must be github.com, or whatever is configured with GITHUB_URL.

Per discussion in #330, a better UX for GHES would be the ability to specify that they're using a specific kind of forge (e.g. GHES), and then the GitHub URL is determined based on the Git remote, and the API URL guessed based on that.