diff --git a/doc/special_remotes/directory/comment_24_4e65af70ce85cbd1d1d6efeb24462673._comment b/doc/special_remotes/directory/comment_24_4e65af70ce85cbd1d1d6efeb24462673._comment new file mode 100644 index 0000000000..5d7bc1acef --- /dev/null +++ b/doc/special_remotes/directory/comment_24_4e65af70ce85cbd1d1d6efeb24462673._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="joey" + subject="""Re: Ignoring files on directory special remote""" + date="2025-06-23T17:32:23Z" + content=""" +If you exclude them from wanted or gitignore them before ever importing +from the special remote, it won't delete them. But if you already imported +a tree containing the files, and then exclude them, and then export a tree, +git-annex will see that the old tree contained the file, and the new tree +did not, and so will delete the file. +"""]]