►
From YouTube: Investigation into reducing repo size
B
B
A
A
A
B
A
B
Repository
we
want
to
remove
them.
How
do
we
do
that?
Get
lab
has
some
documentation
on
how
to
do
that.
There's
two
sort
of
approaches
and
you
should
always
follow
them
in
order
addressing
the
first
approach
first,
which
cleans
up
I.
Guess
there,
your
public
branches,
like
your
main
branch
or
any
of
your
feature
branches,
removes
any
large
files
from
those.
B
B
A
B
A
B
A
B
B
So
that
should
have
had
a
more
significant
impact.
So
if
we
go
up
and
run
that
command
again
see
that
it's
now
dropped
to
41
megabytes,
and
that's
because
we
were
only
one
of
those
videos
has
been
pruned.
Even
though
it
looks
like
the
prune,
and
let
me
show
you
why,
with.
B
We
create
keep
around
refs
and
merge
request
refs
to
prevent
your
commits
from
being
deleted
that
are
associated
with
merge,
requests
are
associated
with
comments,
and
this
is
so
that
if
you
come
back
to
look
at
an
old
request
and
you're
like
how
did
this
thing
get
into
my
repository,
you
can
find
out.
However,.
A
B
B
To
delete
rewrite
the
repo
and
now,
instead
of
pushing
these
changes
up,
what
we're
going
to
do
is
use
a
file
that
was
created
by
filter
repo.
That's
because
we
won't
accept
a
push
to
this
location.
Gitlab
won't
allow
you
to
overwrite
this
keep
around
ref
all
these
modes
request
refs,
it's
just
not
permitted,
but
what
we
do
provide
is
this
repository
cleanup.
B
B
A
B
B
A
B
Collection
still
runs
with
the
prune
policy
of
two
weeks,
so
if
we
run
git
GC
Kern
equals
now,
we
should
see
this
has
reduced
in
size
significantly
to
what
we
expected
to
me
so
filter
repo
working
as
expected,
it
was
cleaning
up
the
reps.
The
only
thing
that
we've
been
having
trouble
with
is
the
fact
that
crooning
is
not
immediate,
and
so,
if
there's
things
that
reference,
that
that
mean
that
it's
not
a
very
old
object,
older.
A
A
B
Well,
forty
megabytes,
okay,
so
it
just
seems
like
this
I
think
this
is
probably
cached,
so
it
takes
a
little
while
to
propagate
so
I
think
we
need
to
investigate
caching,
because
that
could
be
causing
confusion
normally.
This
is
fine,
because
your
repository
won't
change
in
size
very
much
with
each
push,
and
so
that
is
something
that
we
do
need
to
investigate.
So.