* what is "rebase"?
@ 2005-11-19 23:25 Randal L. Schwartz
2005-11-20 1:15 ` Johannes Schindelin
0 siblings, 1 reply; 5+ messages in thread
From: Randal L. Schwartz @ 2005-11-19 23:25 UTC (permalink / raw)
To: git
Can someone point me to a simple explanation of what "rebase" is?
The git-rebase manpage doesn't define the word, or provide an example
of its use.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: what is "rebase"?
2005-11-19 23:25 what is "rebase"? Randal L. Schwartz
@ 2005-11-20 1:15 ` Johannes Schindelin
2005-11-20 1:58 ` Randal L. Schwartz
0 siblings, 1 reply; 5+ messages in thread
From: Johannes Schindelin @ 2005-11-20 1:15 UTC (permalink / raw)
To: Randal L. Schwartz; +Cc: git
Hi,
On Sun, 19 Nov 2005, Randal L. Schwartz wrote:
> Can someone point me to a simple explanation of what "rebase" is?
How about the definition in Documentation/glossary.txt?
> rebase::
> To clean a branch by starting from the head of the main line of
> development ("master"), and reapply the (possibly cherry-picked)
> changes from that branch.
Hth,
Dscho
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: what is "rebase"?
2005-11-20 1:15 ` Johannes Schindelin
@ 2005-11-20 1:58 ` Randal L. Schwartz
2005-11-20 2:10 ` Randal L. Schwartz
2005-11-20 2:12 ` Andreas Ericsson
0 siblings, 2 replies; 5+ messages in thread
From: Randal L. Schwartz @ 2005-11-20 1:58 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
>>>>> "Johannes" == Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Johannes> How about the definition in Documentation/glossary.txt?
>> rebase::
>> To clean a branch by starting from the head of the main line of
>> development ("master"), and reapply the (possibly cherry-picked)
>> changes from that branch.
Well, I got what I wanted... someone pointing me to a simple explanation.
However, I'm still lost. When would I do this, and what will the
effect be?
Is this what I would use if I want to discard history except for
major milestones? Like if I had:
A - edit - edit - edit - B - edit - edit - edit - C
and I wanted to really just retain:
A - B - C
Or is this just to make it look like:
C
Still not sure what "cherry-pick" is either. And that's *not*
in the glossary. :)
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.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: what is "rebase"?
2005-11-20 1:58 ` Randal L. Schwartz
@ 2005-11-20 2:10 ` Randal L. Schwartz
2005-11-20 2:12 ` Andreas Ericsson
1 sibling, 0 replies; 5+ messages in thread
From: Randal L. Schwartz @ 2005-11-20 2:10 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
>>>>> "Randal" == Randal L Schwartz <merlyn@stonehenge.com> writes:
Randal> Well, I got what I wanted... someone pointing me to a simple explanation.
Randal> However, I'm still lost. When would I do this, and what will the
Randal> effect be?
Nevermind. Found rebase-from-internal.txt.
I understand much better now.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: what is "rebase"?
2005-11-20 1:58 ` Randal L. Schwartz
2005-11-20 2:10 ` Randal L. Schwartz
@ 2005-11-20 2:12 ` Andreas Ericsson
1 sibling, 0 replies; 5+ messages in thread
From: Andreas Ericsson @ 2005-11-20 2:12 UTC (permalink / raw)
To: Randal L. Schwartz; +Cc: Johannes Schindelin, git
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-11-20 2:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 23:25 what is "rebase"? Randal L. Schwartz
2005-11-20 1:15 ` Johannes Schindelin
2005-11-20 1:58 ` Randal L. Schwartz
2005-11-20 2:10 ` Randal L. Schwartz
2005-11-20 2:12 ` Andreas Ericsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).