From 26dbba5bceccf249b4759f0c1d535dce75b544b5 Mon Sep 17 00:00:00 2001 From: ColinW Date: Fri, 1 Jan 2016 22:53:23 +0000 Subject: --- ...disk_space_by_dropping_older_versions_in_local_git_annex.mdwn | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/forum/Reduce_disk_space_by_dropping_older_versions_in_local_git_annex.mdwn diff --git a/doc/forum/Reduce_disk_space_by_dropping_older_versions_in_local_git_annex.mdwn b/doc/forum/Reduce_disk_space_by_dropping_older_versions_in_local_git_annex.mdwn new file mode 100644 index 000000000..1b7ebfcff --- /dev/null +++ b/doc/forum/Reduce_disk_space_by_dropping_older_versions_in_local_git_annex.mdwn @@ -0,0 +1,9 @@ +Looking at using git-annex, I wonder if there is a way of removing previous versions from a local git repository annex. We have a 'gold' copy of the repository and will also have of the annex, so dropping a local copy is fine. + +If I checkout older git tags, then the git repo annex fills up with those old annex file versions, and I would like a way of flushing out the old versions to minimise the disk space. + +I tried git annex drop, but that appears to only drop the current version. + +Does git-annex understand that all the versions of a file are related, or is this relationship only discoverable from the symlink in the git repo? + +It is not a deal-breaker, but I would like a single command I can give my team if they are running short on disk space. -- cgit v1.2.3