diff options
author | 2012-08-21 09:39:27 +0000 | |
---|---|---|
committer | 2012-08-21 09:39:27 +0000 | |
commit | cbe5a0cfc190a9876270c00c3ae18a4113f01b17 (patch) | |
tree | c3bf30fd69444e459cbb0ef0550c3b982612e2a2 | |
parent | 3aeb37165271a2682a2a32f760b650ad9fefbd3a (diff) |
New question
-rw-r--r-- | doc/forum/How_to_define_an_alternative_remote_url_for_a_git_remote_repository__63__.mdwn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/forum/How_to_define_an_alternative_remote_url_for_a_git_remote_repository__63__.mdwn b/doc/forum/How_to_define_an_alternative_remote_url_for_a_git_remote_repository__63__.mdwn new file mode 100644 index 000000000..7b8e1a0ba --- /dev/null +++ b/doc/forum/How_to_define_an_alternative_remote_url_for_a_git_remote_repository__63__.mdwn @@ -0,0 +1,7 @@ +I'm using git-annex to manage my files. Some of my remotes are available using 2 or 3 methods, for example ssh and nfs, but the nfs access is only possible on my local network, of course. Then, git-annex chooses the fastest method to sync or get the files (nfs, if available, ssh instead, using scores to choose). For now, I define a remote per repository and per access method (example: server-by-ssh, server-by-nfs), but that's not a really git-annex way to do the job, as it is not compliant with the numcopies option, which ckecks that the files in the annex are kept with enough replications (with my current method, many remotes are in fact the same folders on a hard drive). + +Then, my question applies to both git and git-annex, since the remotes are added in git, not git-annex: I wonder if it is possible to define alternative url for a given remote. + +I have tried to use the git remote set --url --add command, but it doesn't really work as I would expect. Indeed, if the nfs url is not reachable, git hangs up and waits. + +Any idea? |