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

Re: cogito - how to drop a commit

From
Petr Baudis <pasky@suse.cz>
Date
Aug 11, 2005, 21:59 UTC
Message-ID
<20050811215952.GF25280@pasky.ji.cz>
In-Reply-To
<20050806223436.GA6495@mars.ravnborg.org>

Dear diary, on Sun, Aug 07, 2005 at 12:34:36AM CEST, I got a letter where Sam Ravnborg <sam@ravnborg.org> told me that...

Show 12 quoted lines
> I accidently commited too many files to my tree today, and now I want to
> drop the commit so I have logically separate commits.
> 
> What is the right way to do this - in cogito hopefully.
> 
> I do not mind to execute a few git commands, but for my daily usage I
> expect cogito to hanle everything and dropping a commit has proved
> useful for me from time to time, so I expect it be be implemented in the
> porcelain somehow.
> 
> I have read the help for cg-seek - but it di not convince me to be what
> I seeked.

cg-admin-uncommit, be sure to read --help first. Linus' pruning notes apply as well, cg-admin-uncommit won't delete it from the database (I personally don't care about that and never pruned so far).

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox
Previous: Linus Torvalds
Message 3 of 3 in “cogito - how to drop a commit”
  1. Sam RavnborgAug 6, 2005
  2. Linus TorvaldsAug 7, 2005
  3. Petr BaudisAug 11, 2005

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.