From: Jeff King Date: Mon, 07 Jul 2014 17:20:17 GMT Subject: Re: Adding 'Signed-off-by' to 'subtree add --squash' commits Message-ID: <20140707172017.GA28405@sigill.intra.peff.net> In-Reply-To: <87vbr93y8k.fsf@igel.home> On Mon, Jul 07, 2014 at 06:55:07PM +0200, Andreas Schwab wrote: > "Finucane, Stephen" writes: > > > Is it possible to "sign off" squashed commits created by the 'git subtree add ... --squash' command? > > If it isn't directly possible, you can always use "git commit --amend -C > HEAD -s" to modify the commit afterwards. I think that is sensible, though these days you can spell "-C HEAD" as "--no-edit", which I think is a bit more obvious. -Peff