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