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

Re: [PATCH] git-reset.txt: Use commit~1 notation over commit^

From
Jari Aalto <jari.aalto@cante.net>
Date
Dec 2, 2010, 12:14 UTC
Message-ID
<87bp54s770.fsf@picasso.cante.net>
In-Reply-To
<buo39qg8zrf.fsf@dhlpc061.dev.necel.com>
2010-12-02 08:17 Miles Bader <miles@gnu.org>:
Show 12 quoted lines
> Jari Aalto <jari.aalto@cante.net> writes:
>
>>> Additionaly, you must know about the ^ notation. That is the only way
>>> refer to the second parent HEAD^2, for example.
>>
>> If "must" is a requirement, I have to regret that there has yet to have
>> been a situation where I would ahve a need to refer to "second parent".
>>
>> I guess most of the basic features can be used without it.
>
> It doesn't matter.  There needs to be a better reason than "Jari doesn't
> like it."

This has nothing to do with liking. It how infomation is read. When information is consistent, it lessens cognitive load.

In the  "fine print" git-rev-parse(1) there can be the gory details.

most of the commenters probably are already experts and therefor wear "expert glasses on". It's not necessarily the same for starters. Certainly not when you try to teach 100 people. One form is much better in that situation than variations. You only do it at the end:

    "[After finishing 6 week training] Btw, if you need more details
    look at...."
Experts can later pick anything they want.
Jari
Previous: Miles BaderNext: Drew Northup
Message 14 of 23 in “git-reset.txt: Use commit~1 notation over commit^”
  1. git-reset.txt: Use commit~1 notation over commit^jari.aalto@cante.net, Dec 1, 2010
  2. Drew NorthupDec 1, 2010
  3. Jari AaltoDec 1, 2010
  4. Kevin BallardDec 1, 2010
  5. Jari AaltoDec 1, 2010
  6. Kevin BallardDec 1, 2010
  7. Junio C HamanoDec 1, 2010
  8. Jari AaltoDec 1, 2010
  9. Andreas SchwabDec 2, 2010
  10. Jari AaltoDec 2, 2010
  11. Santi BéjarDec 1, 2010
  12. Jari AaltoDec 2, 2010
  13. Miles BaderDec 2, 2010
  14. Jari AaltoDec 2, 2010
  15. Drew NorthupDec 2, 2010
  16. Miles BaderDec 2, 2010
  17. jariDec 2, 2010
  18. Andreas SchwabDec 2, 2010
  19. Junio C HamanoDec 2, 2010
  20. Jeff KingDec 2, 2010
  21. Junio C HamanoDec 2, 2010
  22. Jeff KingDec 2, 2010
  23. Miles BaderDec 2, 2010

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.