what is "rebase"?
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.
Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <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!
Hi,
Quoted 1 line · Randal L. Schwartz
Can someone point me to a simple explanation of what "rebase" is?
How about the definition in Documentation/glossary.txt?
Quoted 4 lines
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
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Johannes" == Johannes Schindelin <[email protected]> writes:
Johannes> How about the definition in Documentation/glossary.txt?
Quoted 4 lines
Quoted 4 lines
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.
Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <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!
Quoted 3 lines · Randal L. Schwartz
Is this what I would use if I want to discard history except for major milestones?
No.
Quoted 3 lines
Still not sure what "cherry-pick" is either. And that's *not* in the glossary. :)
man git-cherry-pick
Quoted 3 lines
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.
Signature · 3 lines
Andreas Ericsson [email protected] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Randal" == Randal L Schwartz <[email protected]> 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.
Signature · 4 lines
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[email protected]> <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!