From 40ad1723474da9604aba4d54a8dd2d09ba7a5156 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmwjQzWgiD7_I3zw-_91rMRf_6qoThupis" <Mike@web> Date: Thu, 9 Oct 2014 17:43:39 +0000 Subject: [PATCH] --- .../How_To_Permanently_Delete_a_File__63__.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/tips/How_To_Permanently_Delete_a_File__63__.mdwn diff --git a/doc/tips/How_To_Permanently_Delete_a_File__63__.mdwn b/doc/tips/How_To_Permanently_Delete_a_File__63__.mdwn new file mode 100644 index 0000000000..fd654079fc --- /dev/null +++ b/doc/tips/How_To_Permanently_Delete_a_File__63__.mdwn @@ -0,0 +1,13 @@ +Hi, + +We have several large git annex repos where all of the files are on remotes and we want to got through and clean up the repositories by deleting some subset of files. + +What is the fastest way to permanently delete files from a git annex repository with remotes? + +I guess I can to ``git annex drop --numcopies=0 <file>; git rm <file>``. Does that actually delete the file permanently? + +Is there a faster way? + +Thanks, + +Mike