comment, improve docs

This commit is contained in:
Joey Hess 2021-08-24 12:45:13 -04:00
parent 0c3c49e003
commit ea9e6cf4a6
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 17 additions and 0 deletions

View file

@ -28,3 +28,8 @@ enable the special remote:
git remote remove tmpremote
git annex enableremote myremote
This only works for git repositories that have a git-annex uuid set,
because git-annex thinks about special remotes in terms of their uuid. So
it cannot be used with a git remote hosted somewhere that does not have
git-annex installed.

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2021-08-24T16:42:27Z"
content="""
This can only be used for git remotes that have an annex-uuid set. All
special remotes have to have a uuid. git remotes that are hosted on a
system with git-annex installed get the annex-uuid set up automatically,
but it won't happen if your special remote is on github or something like
that. You could `git config remote.foo.annex-uuid $(uuid)` to generate and
set a new uuid, I suppose.
"""]]