diff --git a/doc/forum/Best_way_to_remove_old_version_of_specific_file/comment_1_1663dd9118cb1fee92ae3f8d812df79c._comment b/doc/forum/Best_way_to_remove_old_version_of_specific_file/comment_1_1663dd9118cb1fee92ae3f8d812df79c._comment new file mode 100644 index 0000000000..8e075df1be --- /dev/null +++ b/doc/forum/Best_way_to_remove_old_version_of_specific_file/comment_1_1663dd9118cb1fee92ae3f8d812df79c._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2017-06-26T16:52:25Z" + content=""" +Your alternative B does not actually remove the old version of the file, +because git-annex unlock keeps a copy in .git/annex/objects +(except when using v6 mode with annex.thin). + +Alternative A is fine, if you just want to remove the old version +of the file from the local repository. Other clones of the repository +may still have the content of that file though. + +I use alternative A fairly frequently in my own repositories, and then +sometimes followup with `git annex unused` in clones and dropping all +unused files. +"""]]