On Sat, Jul 14, 2018 at 11:06 AM Rich Freeman <ri...@gentoo.org> wrote:
>
> git rev-parse HEAD >! .git/shallow
> git reflog expire --expire=all --all
> git gc --prune=now
>

Before anybody bangs their head against the wall too much I did end up
having syncing issues with this.  I suspect the fix is a one-liner,
but which one-liner has defied a fair bit of messing around with it.

In general the git authors aren't really big on supporting this sort
of thing, so it is just a big hack.  Doing a local sync to discard
history might be an option.  Just deleting the repo and re-syncing is
another option.

But, if somebody comes up with a good fix I'm all ears.

-- 
Rich

Reply via email to