Am Mittwoch, 22. Januar 2014 11:16:31 UTC+1 schrieb Magnus Therning:
> On Wed, Jan 22, 2014 at 9:36 AM, Philipp Kraus 
> < <javascript:>> wrote: 
> > Hello, 
> > 
> > I have got a large Git repo, but on beginning there wasn't a gitignore 
> file, 
> > so during the time there are a lot of (binary) files which are stored in 
> the 
> > repository. I have add these files to a gitignore and run git rm to 
> remove 
> > them, but can I rebase the repo, so that these files are also removed 
> from 
> > the history? I will shrink the repo size. 
> What you are asking for is a way to "rewrite history", and if you 
> search for it you'll find several good resources on how to use `git 
> filter-branch` which is the command you are looking for. 

Thanks, seems to be my mistake. I have searched for "rebase" and not 
"filter branch".


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to