summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-02 13:12:32 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-02 13:12:32 -0400
commit434a8098037574ddd83e09bbf82a9d5b27181b8e (patch)
tree978ab0f48be492e06939e168cbc2392c4ae91b92 /doc/git-annex.mdwn
parent94043b612888a0555f630669c6391cb75842b6ea (diff)
Remotes can now be made read-only, by setting remote.<name>.annex-readonly
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index da9e021da..27d4df93a 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -1275,6 +1275,12 @@ Here are all the supported configuration settings.
If set to `false`, prevents git-annex sync (and the git-annex assistant)
from syncing with this remote.
+* `remote.<name>.annex-readonly`
+
+ If set to `true`, prevents git-annex from making changes to a remote.
+ This both prevents git-annex sync from pushing changes, and prevents
+ storing or removing files from read-only remote.
+
* `remote.<name>.annexUrl`
Can be used to specify a different url than the regular `remote.<name>.url`