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

Re: FEATURE suggestion git commit --amend <ref>

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Feb 27, 2009, 08:37 UTC
Message-ID
<fabb9a1e0902270037s3355e8e3m1533f86fd3ce2e8f@mail.gmail.com>
In-Reply-To
<81bfc67a0902262345i63386076rbcf6d71ed88c29ac@mail.gmail.com>
Heya,
On Fri, Feb 27, 2009 at 08:45, Caleb Cushing <xenoterracide@gmail.com> wrote:
Show 6 quoted lines
> git rebase -i seems a little more tedious/unfriendly than I'd like if
> all I want to do is edit HEAD~2 (assuming no merges) it's a bit of a
> pain to do a rebase -i and then pick which patches to edit. might be
> nice to be able to do stuff like git commit --amend <ref> and have
> that call rebase  (as I think not rebasing is impossible?) with edit
> only on the ref I picked.

Ah, yes, I would like this feature as well. But this could probably be solved with a custom editor script that does a simple sed 's/pick $TARGET/edit $TARGET/'?

-- 
Cheers,

Sverre Rabbelier
Previous: Caleb CushingNext: Wincent Colaiuta
Message 2 of 5 in “FEATURE suggestion git commit --amend <ref>”
  1. Caleb CushingFeb 27, 2009
  2. Sverre RabbelierFeb 27, 2009
  3. Wincent ColaiutaFeb 27, 2009
  4. Johannes SchindelinFeb 27, 2009
  5. Michael J GruberFeb 27, 2009

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.