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

Re: Undo last commit?

From
Jakub Narebski <jnareb@gmail.com>
Date
Feb 11, 2012, 22:07 UTC
Message-ID
<201202112307.10528.jnareb@gmail.com>
In-Reply-To
<CAHK-92oMc62O0S8Bxt6+uxobE+kg5wOeRDoOsHWvvenXaXmZGQ@mail.gmail.com>

Please do not top-post, and do not remove git mailing list from Cc. Sorry for double posting; forgot to re-add git@vger.kernel.org

On Sat, 11 Feb 2012, Mike ??? wrote:
Show 13 quoted lines
> 2012/2/11 Neal Kreitzinger <nkreitzinger@gmail.com>
> > On 6/28/2011 8:57 AM, Holger Hellmuth wrote:
> > >
> > > It would be a nice companion to the not-yet-realized "git unadd" ;-)
> >
> > or perhaps "git unstage"...
>
> If lot's of people have the same problem then it IS a design flaw. If
> something is designed well and genuinely intuitive then they just work.
> Think iPhone, iPod, some DVD players and other well designed user
> interfaces. The same goes for command line tools... the options should have
> names that don't have any ambiguity.
> 

Many of problems with git user interface have their source from the fact that git, including its interface, was evolved rather than created using big-design-upfront workflow. And it _had_ to be evolved, as there was not much of prior art (well, not good prior art) in the area of DVCS.

Besides, as they say:
  The only "intuitive" interface is the nipple. After that it's all learned.
                                                             -- Bruce Ediger
Show 6 quoted lines
> Techie guys almost always blame the users, this is a very bad attitude. For
> example I've met so many techies that THINK they can design websites...
> err... they can't. They CAN program sure, but they CAN'T design the user
> experience properly as that is not their expertise. Just as we wouldn't
> expect a graphic designer or user interface specialist to do the coding.
> 

There is also problem in that you need to know git well to _code_ interface; and when you know git well you don't notice no longer the problems that you had as a newbie.

On the other hand new git users sometimes have problems distinguishing between accidental complexity of bad UI design, and essential complexity of a powerfull and flexible tool.

[...]
So, Mike, will you bitch or will you try to help?
-- 
Jakub Narebski
Poland
Previous: Neal KreitzingerNext: Jonathan Nieder
Message 15 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.