aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar http://joeyh.name/ <http://joeyh.name/@web>2014-10-13 22:16:00 +0000
committerGravatar admin <admin@branchable.com>2014-10-13 22:16:00 +0000
commit9d41bed7cc6149d1f16055f1378fe3bc15f2aa20 (patch)
tree5c3cbf3b911d215e4836267741910a582d3956dc /doc
parentf39e3fde28c24d48d1b1efa7959776dbccecf4c6 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/tips/deleting_unwanted_files.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tips/deleting_unwanted_files.mdwn b/doc/tips/deleting_unwanted_files.mdwn
index 5fa197c54..c83b960da 100644
--- a/doc/tips/deleting_unwanted_files.mdwn
+++ b/doc/tips/deleting_unwanted_files.mdwn
@@ -6,7 +6,7 @@ With git-annex this changes some: Very large files can be managed with git-annex
In this method, you just remove annexed files whenever you want, and commit the changes. This is probably the most natural way to go.
-In an indirect mode repo, you can do this the same way you would in a regular git repository. For example, `git rm foo; git commit -m "removed foo". This leaves the contents of the files still in the annex, not really deleted yet.
+In an indirect mode repo, you can do this the same way you would in a regular git repository. For example, `git rm foo; git commit -m "removed foo"`. This leaves the contents of the files still in the annex, not really deleted yet.
If you have a direct mode repo, you can't run `git rm` in it. Instead, you can just delete files using `rm` or your file manager, and then run `git annex sync` to commit the deletion. That will delete the file's content from your disk. Even if it's the only copy of the file!