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

Re: Undo last commit?

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jun 30, 2011, 04:50 UTC
Message-ID
<BANLkTim459-Jx2R9GpBdkck7PMAEbamJeA@mail.gmail.com>
In-Reply-To
<BANLkTimZN4swfY13zMjkCbAc9UsGSix02Q@mail.gmail.com>
Hi Mike,
Mike writes:
Show 15 quoted lines
> I do think that git needs polishing in this way. It was designed by a
> very intelligent programmer... however they can sometimes be the worst
> at user interface design. I think a lot of people are missing out on
> how great git is because of the learning curve, and also the slightly
> odd naming conventions.
>
> "git reset --soft HEAD^" can't be picked up that quickly by a
> beginner, but git uncommit would be obvious! So I have to agree with
> Holger. Good design makes something intuitive. I have used DVD
> recorder / players that are so badly designed that I needed to read
> the instruction manual. Something complicated can be designed to such
> a degree that people rarely have to read a manual, and they can pick
> it up really quickly because it's obvious. If you disagree then you
> might need to learn something about good design because what I say
> isn't opinion it's a fact. Flame away :)

I completely agree with you. Git's user interface can certainly be improved -- we have had many many discussions on this topic (like {1]). Unfortunately, the way to go about doing it is not to implement every little suggestion and introduce more inconsistencies; Git is very complex, and changing one little thing requires us to think about how it'll affect everything else. Yes, it does seem like a daunting task, but the interface IS improving slowly and steadily. You can help by thinking about how a certain new feature will interact with every component of Git, and participating in UI discussions.

-- Ram
[1]: http://thread.gmane.org/gmane.comp.version-control.git/175061
Previous: MikeNext: Jonathan Nieder
Message 10 of 16 in “Undo last commit?”
  1. MikeJun 18, 2011
  2. Ben WaltonJun 18, 2011
  3. Ramkumar RamachandraJun 18, 2011
  4. Jakub NarebskiJun 18, 2011
  5. Jonathan NiederJun 19, 2011
  6. Jakub NarebskiJun 19, 2011
  7. Massimo MancaJun 20, 2011
  8. Holger HellmuthJun 28, 2011
  9. MikeJun 28, 2011
  10. Ramkumar RamachandraJun 30, 2011
  11. Jonathan NiederJun 30, 2011
  12. MikeJun 30, 2011
  13. Junio C HamanoJun 30, 2011
  14. Neal KreitzingerFeb 11, 2012
  15. Jakub NarebskiFeb 11, 2012
  16. Jonathan NiederFeb 11, 2012

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.