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

Re: Reverting a specific commit

From
Pascal Obry <pascal@obry.net>
Date
Sep 23, 2010, 07:17 UTC
Message-ID
<AANLkTi=8gfw3FbReaCmf=tVnu2CEajCLmW-7whn27cya@mail.gmail.com>
In-Reply-To
<1285226023268-5561992.post@n2.nabble.com>
On Thu, Sep 23, 2010 at 9:13 AM, milindkanchan <milindkanchan@gmail.com> wrote:
> Can we revert a specific commit in git ?
   $ git revert <sha1>
for more information:
   $ git revert --help
Pascal.
-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Previous: John TapsellNext: milindkanchan
Message 3 of 5 in “Reverting a specific commit”
  1. milindkanchanSep 23, 2010
  2. John TapsellSep 23, 2010
  3. Pascal ObrySep 23, 2010
  4. milindkanchanSep 23, 2010
  5. Pascal ObrySep 23, 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.