# [Bug] With "[remotes] group = a b c", "git push group" does not work

4 messages from 2025-09-02 to 2026-02-26. Participants: Junio C Hamano, Usman Akinyemi.
Thread: https://gitlist.dev/t/64075

## Junio C Hamano, 2025-09-02 18:02

Subject: [Bug] With "[remotes] group = a b c", "git push group" does not work
Message-ID: <xmqqiki0ivgy.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqiki0ivgy.fsf%40gitster.g

```
... even though "git fetch group" does and acts as if we did "git
fetch a; git fetch b; git fetch c".

Yes, I know it does not work, but I think it should.

Expose get_remote_group() and struct remote_group_data out of
builtin/fetch.c, probably move them to remote.c, and have
builtin/{fetch,push}.c use them, or something.

It probably is a good #leftoverbits microproject material, albeit on
a bit larger side.


```

## Usman Akinyemi, 2025-12-26 18:57

Subject: Re: [Bug] With "[remotes] group = a b c", "git push group" does not work
Message-ID: <20251226185725.51201-1-usmanakinyemi202@gmail.com>
URL: https://gitlist.dev/e/20251226185725.51201-1-usmanakinyemi202%40gmail.com
In-Reply-To: <xmqqiki0ivgy.fsf@gitster.g>

```
Hi Junio,

I will be working on this.

Best,
Usman Akinyemi

```

## Junio C Hamano, 2026-02-26 21:54

Subject: Re: [Bug] With "[remotes] group = a b c", "git push group" does not work
Message-ID: <xmqq7brzw4qa.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqq7brzw4qa.fsf%40gitster.g
In-Reply-To: <20251226185725.51201-1-usmanakinyemi202@gmail.com>

```
Usman Akinyemi <usmanakinyemi202@gmail.com> writes:

> Hi Junio,
>
> I will be working on this.
>
> Best,
> Usman Akinyemi

Did anything happen after this?

```

## Usman Akinyemi, 2026-02-26 21:59

Subject: Re: [Bug] With "[remotes] group = a b c", "git push group" does not work
Message-ID: <CAPSxiM-iAEZeuyqyUhzj-+W7jq80nXedduV2UDza2qxmWmFSmw@mail.gmail.com>
URL: https://gitlist.dev/e/CAPSxiM-iAEZeuyqyUhzj-%2BW7jq80nXedduV2UDza2qxmWmFSmw%40mail.gmail.com
In-Reply-To: <xmqq7brzw4qa.fsf@gitster.g>

```
> > Best,
> > Usman Akinyemi
>
> Did anything happen after this?
Thanks for the nodge.

Started working on this and have some patches already but, being busy to
finalize it. I will be sending it by next week.

Thanks.

```
