# git-subtree

2 messages from 2021-11-14 to 2021-11-15. Participants: tqfx su, Fabian Stelzer.
Thread: https://gitlist.dev/t/56893

## tqfx su, 2021-11-14 10:11

Subject: git-subtree
Message-ID: <CAH6-BcyoEy29-NPCqivWTPoqM0e8=Pp1ahrCaZpBko8cSyv-6Q@mail.gmail.com>
URL: https://gitlist.dev/e/CAH6-BcyoEy29-NPCqivWTPoqM0e8%3DPp1ahrCaZpBko8cSyv-6Q%40mail.gmail.com

```
git maintainers,
  Can you add a GPG signature option to git-subtree?
  I do hope you can take the above suggestions into consideration and
thanks in advance.

```

## Fabian Stelzer, 2021-11-15 08:12

Subject: Re: git-subtree
Message-ID: <20211115081207.vpef4i3rdfr7gljy@fs>
URL: https://gitlist.dev/e/20211115081207.vpef4i3rdfr7gljy%40fs
In-Reply-To: <CAH6-BcyoEy29-NPCqivWTPoqM0e8=Pp1ahrCaZpBko8cSyv-6Q@mail.gmail.com>

```
On 14.11.2021 18:11, tqfx su wrote:
>git maintainers,
>  Can you add a GPG signature option to git-subtree?
>  I do hope you can take the above suggestions into consideration and
>thanks in advance.

Hi,
i suspect you'd like the squash & merge commits the subtree commands
create to be signed? If so you can try simply enabling commit.gpgsign in
your config before doing a subtree operation. This will cause all
commits to be signed. If this works as you expect we could make subtree
pass a "-s" flag for signing on to the commit calls.

```
