Re: what is "rebase"?
- From
Andreas Ericsson <ae@op5.se>
- Date
- Nov 20, 2005, 02:12 UTC
- Message-ID
- <437FDB8B.8030707@op5.se>
- In-Reply-To
- <86psow6pxl.fsf@blue.stonehenge.com>
Randal L. Schwartz wrote:
> Is this what I would use if I want to discard history except for > major milestones? >
No.
> Still not sure what "cherry-pick" is either. And that's *not* > in the glossary. :) >
man git-cherry-pick
> I'm just worried about my archive getting bigger and bigger and > having lots of junk in it that I can't get rid of. >
If you do experimental development on a branch and want to throw stuff away (commits, tags, whatnot), you should run "git-reset". It can bring any combination of index and working tree back to any commit in the history of that branch.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231