Easy way to empty working tree?
- From
Robin Luckey <robinluckey@gmail.com>
- Date
- Jul 21, 2006, 01:28 UTC
- Message-ID
- <761519800607201828m19684b2jc267411ef3b8b9e2@mail.gmail.com>
I have some very large git repositories that serve mainly as archives, and it would be nice to clear out the working directories for the repositories I am not currently working with. I'm not trying to delete the files from the repository, I just want free up space in idle repositories.
After mothballing the repository with git-repack -a -d and git clean -d -x, is there a convenient one-liner to empty the files out the working directory?
Thanks, Robin