summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/forum/Git_Annex_not_dropping_unused_content/comment_1_da47b6af512b19cba077499f41455189._comment23
1 files changed, 23 insertions, 0 deletions
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.
+"""]]