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

Re: [minor usability suggestion] git rebase <upstream> --onto <newbase> ?

From
IMIngo Molnar <mingo@elte.hu>
Date
Nov 8, 2008, 11:49 UTC
Message-ID
<20081108114955.GC8354@elte.hu>
In-Reply-To
<7vy6zvfdp5.fsf@gitster.siamese.dyndns.org>
* Junio C Hamano <gitster@pobox.com> wrote:
Show 5 quoted lines
> Daniel Barkalow <barkalow@iabervon.org> writes:
> 
> > "git log origin/master -p" works, though.
> 
> That's an accident.  Do not rely on it.

hm, i frequently rely on tacking-on options after the fact, especially the -- ones.

Just like the best workflow is append-mostly, command parameters are often added append-only as well, without jumping back and forth in the command line to edit the command.

Path or brach names starting with '--' are weird anyway, so isnt this a reasonable expectation? I hope i'm not misunderstanding something here.

	Ingo
Previous: Junio C Hamano
Message 5 of 5 in “[minor usability suggestion] git rebase <upstream> --onto <newbase> ?”
  1. Ingo MolnarNov 7, 2008
  2. Junio C HamanoNov 7, 2008
  3. Daniel BarkalowNov 7, 2008
  4. Junio C HamanoNov 7, 2008
  5. Ingo MolnarNov 8, 2008

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.