Hi all,
is there any procedure for removing some large binary files from a git
(and it's github hosted counterpart) repository?
I was reading this thread from kernel trap, but couldn't really figure
out what to do.
zdroshnya, Is this file in a recent commit, or far back in the history? If it's recent you can remove it with a `git commit --amend` or `git rebase -i`... if it's back in the history, you will need to use filter-branch.
On Wed, Oct 1, 2008 at 4:19 AM, zdroshnya <hepaminon...@gmail.com> wrote:
> Hi all, > is there any procedure for removing some large binary files from a git > (and it's github hosted counterpart) repository? > I was reading this thread from kernel trap, but couldn't really figure > out what to do.
Hi – I've got the same problem with some pictures in a folder I want
to remove from the repository because they have been replaced by
better ones. I tried the filter-branch procedure, but it didn't quite
seem to work.
After I executed the first command, a `git commit -a` didn't seem to
do anything. Then, after I removed some files following this
procedure, I noticed that the repository had in fact gotten bigger
instead of smaller… I know, the images shouldn't have been included in
the first place, but I didn't think about repository size back then,
unfortunately.
On a side note: can this filter-branch command also be applied using
wildcards? It didn't seem to work for me.
Thanks,
Peter
On 1 Okt., 21:28, "GitHub Support" <supp...@github.com> wrote:
> zdroshnya,
> Is this file in a recent commit, or far back in the history? If it's recent
> you can remove it with a `git commit --amend` or `git rebase -i`... if it's
> back in the history, you will need to use filter-branch.
> On Wed, Oct 1, 2008 at 4:19 AM, zdroshnya <hepaminon...@gmail.com> wrote:
> > Hi all,
> > is there any procedure for removing some large binary files from a git
> > (and it's github hosted counterpart) repository?
> > I was reading this thread from kernel trap, but couldn't really figure
> > out what to do.
On Fri, Oct 3, 2008 at 1:37 AM, peter <pe...@heysorry.ch> wrote:
> Hi – I've got the same problem with some pictures in a folder I want
> to remove from the repository because they have been replaced by
> better ones. I tried the filter-branch procedure, but it didn't quite
> seem to work.
> After I executed the first command, a `git commit -a` didn't seem to
> do anything. Then, after I removed some files following this
> procedure, I noticed that the repository had in fact gotten bigger
> instead of smaller… I know, the images shouldn't have been included in
> the first place, but I didn't think about repository size back then,
> unfortunately.
> On a side note: can this filter-branch command also be applied using
> wildcards? It didn't seem to work for me.
> Thanks,
> Peter
> On 1 Okt., 21:28, "GitHub Support" <supp...@github.com> wrote:
> > zdroshnya,
> > Is this file in a recent commit, or far back in the history? If it's
> recent
> > you can remove it with a `git commit --amend` or `git rebase -i`... if
> it's
> > back in the history, you will need to use filter-branch.
> > On Wed, Oct 1, 2008 at 4:19 AM, zdroshnya <hepaminon...@gmail.com>
> wrote:
> > > Hi all,
> > > is there any procedure for removing some large binary files from a git
> > > (and it's github hosted counterpart) repository?
> > > I was reading this thread from kernel trap, but couldn't really figure
> > > out what to do.