Re: Adding 'Signed-off-by' to 'subtree add --squash' commits
- From
Jeff King <peff@peff.net>
- Date
- Jul 7, 2014, 17:20 UTC
- 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:
Show 6 quoted lines
> "Finucane, Stephen" <stephen.finucane@intel.com> 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