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

Re: Revert behavior [Was: Re: [ANNOUNCE] yap: Yet Another (Git) Porcelain]

From
Petr Baudis <pasky@suse.cz>
Date
Sep 9, 2008, 21:28 UTC
Message-ID
<20080909212834.GC10544@machine.or.cz>
In-Reply-To
<200809091538.13961.jnareb@gmail.com>
On Tue, Sep 09, 2008 at 03:38:13PM +0200, Jakub Narebski wrote:
> By the way, I think the fact that in different SCMs meaning of
> "$scm revert" and of "$scm reset" differs widely caused Mercurial
> to adopt "hg backout" for creating a commit which reverts changes
> (cherry-pick -R), and "hg rollback" to undo last commit.

This brings up a point I wanted to raise - sometimes when the meanings across the systems (including Git) are too conflicting, it should be considered to use a completely different command name whatsoever to reduce the confusion. This is e.g. the reason Cogito had no "pull" (but "update") or "checkout" (but "restore" and "switch") commands.

				Petr "Pasky" Baudis
Previous: Elijah NewrenNext: Steven Walter
Message 9 of 13 in “Revert behavior [Was: Re: [ANNOUNCE] yap: Yet Another (Git) Porcelain]”
  1. Elijah NewrenSep 9, 2008
  2. Jakub NarebskiSep 9, 2008
  3. Govind SalinasSep 9, 2008
  4. Steven WalterSep 9, 2008
  5. Elijah NewrenSep 9, 2008
  6. Steven WalterSep 9, 2008
  7. Elijah NewrenSep 9, 2008
  8. Elijah NewrenSep 9, 2008
  9. Petr BaudisSep 9, 2008
  10. Steven WalterSep 9, 2008
  11. Junio C HamanoSep 9, 2008
  12. Steven WalterSep 9, 2008
  13. Elijah NewrenSep 9, 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.