On Wed, 22 Jan 2014 00:36:13 -0800 (PST)
Philipp Kraus <philipp.kr...@flashpixx.de> wrote:
> 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.
That's a task for `git filter-branch`, not `git rebase`.
Be sure to read up a bunch of tutorials on `git filter-branch` before
embarking on this task (there are lots), and make sure you perform your
sample runs on throw-away branches (forked off those to be filtered).
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 https://groups.google.com/groups/opt_out.