From 97ea4dea93acc49e7ce6890d9306684e9658489f Mon Sep 17 00:00:00 2001 From: ghen1 Date: Fri, 19 Dec 2014 12:56:55 +0000 Subject: Added a comment: Solved --- ...ent_1_da47b6af512b19cba077499f41455189._comment | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 doc/forum/Git_Annex_not_dropping_unused_content/comment_1_da47b6af512b19cba077499f41455189._comment diff --git a/doc/forum/Git_Annex_not_dropping_unused_content/comment_1_da47b6af512b19cba077499f41455189._comment b/doc/forum/Git_Annex_not_dropping_unused_content/comment_1_da47b6af512b19cba077499f41455189._comment new file mode 100644 index 000000000..d21648c9d --- /dev/null +++ b/doc/forum/Git_Annex_not_dropping_unused_content/comment_1_da47b6af512b19cba077499f41455189._comment @@ -0,0 +1,23 @@ +[[!comment format=mdwn + username="ghen1" + subject="Solved" + date="2014-12-19T12:56:55Z" + content=""" +I've figured it out: + +In the annex in which the view was made (in my case *sdrive*), the views must be deleted with single-quotes: + + git branch -D 'views/(added=14_09);(tag=Shared)' + git branch -D 'views/(added=14_09);Images_=_' + git branch -D 'views/added=_' + +In the connected annexes, for which *sdrive* is a remote, this command removes the remote branches: + + git fetch -p sdrive + + x [deleted] (none) -> sdrive/views/(added=14_09);(tag=Shared) + x [deleted] (none) -> sdrive/views/(added=14_09);Images_=_ + x [deleted] (none) -> sdrive/views/added=_ + +After these steps *git annex* recognized old files as unused. +"""]] -- cgit v1.2.3