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

Re: previous references

From
Johan Herland <johan@herland.net>
Date
Oct 4, 2009, 09:27 UTC
Message-ID
<200910041127.29588.johan@herland.net>
In-Reply-To
<8E72DAAF9F8E4024BB819F3F83CCFC79@teddy>
On Sunday 04 October 2009, Octavian Râşniţă wrote:
Show 6 quoted lines
> Are the following commands specifying the same reference?
> 
> prompt> git log -1 HEAD^^^ ... log entry ...
> prompt> git log -1 HEAD^~2 ... log entry ...
> prompt> git log -1 HEAD~1^^ ... log entry ...
> prompt> git log -1 HEAD~3 ... log entry ...
Yes
...Johan
-- 
Johan Herland, <johan@herland.net>
www.herland.net
Previous: Octavian RâşniţăNext: Daniele Segato
Message 2 of 4 in “previous references”
  1. Octavian RâşniţăOct 4, 2009
  2. Johan HerlandOct 4, 2009
  3. Daniele SegatoOct 5, 2009
  4. Sverre RabbelierOct 5, 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.