summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkBTVYS5lTecuenAB01eHgfUxE20vWVpU4 <Peng@web>2014-08-05 18:04:38 +0000
committerGravatar admin <admin@branchable.com>2014-08-05 18:04:38 +0000
commitdc46e8d2feefabdeb416496f6737519255850ef7 (patch)
tree2b5c91a74277bce57d008a4ec52c1204a6a326c0
parent39da5477e97453a77d139f1d9912a6cb8c653788 (diff)
How to remove a directory with git-annex added?
-rw-r--r--doc/forum.mdwn28
1 files changed, 20 insertions, 8 deletions
diff --git a/doc/forum.mdwn b/doc/forum.mdwn
index e8a208ddf..a6288dffb 100644
--- a/doc/forum.mdwn
+++ b/doc/forum.mdwn
@@ -1,8 +1,20 @@
-This is a place to discuss using git-annex.
-If you need help, advice, or anything, post about it here.
-
-But, please don't post bug reports here. Put them in [[bugs]].
-And please don't make wishlist requests here. Put them in [[todo]].
-(If you post bugs/todo here, it'll just get moved.)
-
-[[!inline pages="forum/* and !*/Discussion" archive=yes rootpage=forum postformtext="Add a new thread titled:"]]
+/tmp$ mkdir -p /tmp/music
+/tmp$ cd /tmp/music
+/tmp/music$ git init
+Initialized empty Git repository in /private/tmp/music/.git/
+/tmp/music$ git annex init 'Music on keller'
+init Music on keller ok
+(Recording state in git...)
+/tmp/music$ echo Hello > hello.txt
+/tmp/music$ git annex add --backend=SHA1 .
+add hello.txt ok
+(Recording state in git...)
+/tmp/music$ git commit -a -m "Imported my music collection"
+[master (root-commit) 433f42b] Imported my music collection
+ 1 file changed, 1 insertion(+)
+ create mode 120000 hello.txt
+/tmp/music$ cd ..
+/tmp$ rm -rf music/
+rm: cannot remove ‘music/.git/annex/objects/w8/X0/SHA1-s6--1d229271928d3f9e2bb0375bd6ce5db6c6d348d9/SHA1-s6--1d229271928d3f9e2bb0375bd6ce5db6c6d348d9’: Permission denied
+/tmp$ sudo rm -rf music/
+/tmp$