git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Andreas Schwab
Message 3 of 3 in “Adding 'Signed-off-by' to 'subtree add --squash' commits”
  1. Finucane, StephenJul 7, 2014
  2. Andreas SchwabJul 7, 2014
  3. Jeff KingJul 7, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.