Re: Filter certain files on rebase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Ævar Arnfjörð Bjarmason <avarab@xxxxxxxxx> wrote:
> On Tue, Sep 21, 2010 at 08:00, Enrico Weigelt <weigelt@xxxxxxxx> wrote:
> > is it somehow possible to filter out certain files on rebase
> > operations. The problem is: I'm maintaining a lot of downstream
> > branches, where sometimes upstream leaves in autogenerated files
> > (eg. configure) which I want to get rid of. When I just remove
> > them by another commit, I'll get conflicts on next rebase.
> 
> You *could* with the "edit" option to interactive rebase and a custom
> editor script, but this is the sort of thing git-filter-branch(1) is
> for.

So I should run the upstream branch through git-filter-branch
before rebasing to it ?


cu
-- 
----------------------------------------------------------------------
 Enrico Weigelt, metux IT service -- http://www.metux.de/

 phone:  +49 36207 519931  email: weigelt@xxxxxxxx
 mobile: +49 151 27565287  icq:   210169427         skype: nekrad666
----------------------------------------------------------------------
 Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]