summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar janis_e <janis_e@web>2015-01-29 10:57:33 +0000
committerGravatar admin <admin@branchable.com>2015-01-29 10:57:33 +0000
commitc57b6f3047d6404e67e2c43fd42067e3ca4c11f6 (patch)
tree15e8bfe2c96a8515c2ef0b2fdf8adb2e7b6cfb8d
parent8dc1235721ccbccd2efa8ec121647f51a4f37729 (diff)
-rw-r--r--doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn b/doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn
new file mode 100644
index 000000000..9c6c3df73
--- /dev/null
+++ b/doc/forum/Understanding___34__deletion__34___and___34__dropping__34_____38___cleanup_of_history.mdwn
@@ -0,0 +1,9 @@
+Hi!
+
+I have a few questions according to deletion and dropping with git-annex:
+
+1. I couldn't figure out what unused files really are. What is *unused* related to? (Head of) branches? How does a file become unused?
+2. If I'm working in indirect mode, I can safely `git rm` files and restore them later, by checking out the corresponding commit. Consider several git-annex repos being in sync, where the repository contains a nested directory structure. Is there a way to completely remove all deletes files within some directory (which might but not must be the root of the repo), that have been deleted for more than X days? For example I would want to run something like `git annex drop-deleted --from-folder some/subdirectory/ --older-than 5`. Is there a way to achieve this?
+3. Just like 2, is there a way to remove (the content of) all non-current *versions* of all file that are older than Y days?
+
+Thanks in advance!