feat: configuration for the default remote

Labels: area/configuration kind/feature priority/important-longterm triage/accepted

Timeline

Michael Muré (MichaelMure) opened

For now, the default git remote is hard-coded as "origin". While this will work most of the time, having this being configurable would be nice.

Git handle this configuration separately for each branch so we can't reuse that system.

I guess the best way to do that would be using the git config system and having an entry like gitbug.defaultremote=origin.

In git-bug, we will also need a config package that read and expose this.

Michael Muré (MichaelMure) added label enhancement

Michael Muré (MichaelMure) added label RFC

Michael Muré (MichaelMure) added label Core

Michael Muré (MichaelMure) added label Easy pick

github-actions (github-actions) added label lifecycle/stale

sudoforge added label area/configuration

sudoforge added label kind/feature

sudoforge added label priority/backlog

sudoforge removed label enhancement

sudoforge removed label RFC

sudoforge removed label Core

sudoforge removed label Easy pick

sudoforge removed label lifecycle/stale

sudoforge added label triage/needs-approval

sudoforge removed label priority/backlog

sudoforge removed label triage/needs-approval

sudoforge added label priority/important-longterm

sudoforge added label triage/accepted