forum/Git Annex not dropping unused contentgit-annexhttp://git-annex.branchable.com/forum/Git_Annex_not_dropping_unused_content/git-annexikiwiki2014-12-19T12:56:55ZSolvedhttp://git-annex.branchable.com/forum/Git_Annex_not_dropping_unused_content/comment_1_da47b6af512b19cba077499f41455189/ghen12014-12-19T12:56:55Z2014-12-19T12:56:55Z
<p>I've figured it out:</p>
<p>In the annex in which the view was made (in my case <em>sdrive</em>), the views must be deleted with single-quotes:</p>
<pre><code>git branch -D 'views/(added=14_09);(tag=Shared)'
git branch -D 'views/(added=14_09);Images_=_'
git branch -D 'views/added=_'
</code></pre>
<p>In the connected annexes, for which <em>sdrive</em> is a remote, this command removes the remote branches:</p>
<pre><code>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=_
</code></pre>
<p>After these steps <em>git annex</em> recognized old files as unused.</p>