Allow removal of clone after push
hobti01 opened this issue · 2 comments
hobti01 commented
This is a nice tool but unfortunately we have some disk constraints when mirroring many repositories. Many of them use LFS and we run out of disk space during a mirroring of just a few repos.
We are running within a container and not persisting the directories in any case.
Unfortunately, I'm not confident enough in Rust to submit a pull request, but it would be great to have a flag to delete each checked out repository after push is complete.
bachp commented
I think that should be quite easy to implement.
Would a globale command line switch be ok or do you need to control this per repo?
hobti01 commented
We would be happy with a global option that removed after each repo. Thanks for the timely response