summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-01-15 15:17:06 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-01-15 15:17:06 -0400
commit98b798669df520332d63478461f4fd39f90ff3f3 (patch)
treecfdafd8ddd293d01b2260ea9c13b3089fb63e321 /doc
parentc01172c615c2742a142707ae315e4649ac9cbf11 (diff)
response
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/basic_usage_questions/comment_3_94b4efa49efbee741c051227b3204562._comment13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/forum/basic_usage_questions/comment_3_94b4efa49efbee741c051227b3204562._comment b/doc/forum/basic_usage_questions/comment_3_94b4efa49efbee741c051227b3204562._comment
new file mode 100644
index 000000000..604903aa0
--- /dev/null
+++ b/doc/forum/basic_usage_questions/comment_3_94b4efa49efbee741c051227b3204562._comment
@@ -0,0 +1,13 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 3"""
+ date="2016-01-15T19:14:07Z"
+ content="""
+You can use git's post-receive hook to run `git annex merge` to update a
+direct mode repository. See example in
+[[tips/setup_a_public_repository_on_a_web_site]].
+
+It's fine to use --force with dropunused if you really want to force
+deleting the only copy of a file. git-annex will never delete the last copy
+of a file without being forced as a safety measure.
+"""]]