From 10b6539174422ae085eb6a8030d3980c8f35680d Mon Sep 17 00:00:00 2001 From: Spencer Date: Wed, 9 Oct 2024 23:10:17 +0000 Subject: [PATCH] Added a comment: [FR] Remote Settings for All Clones --- ...nt_5_ba800043af8cc44db2a57911cfb6738f._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/git-annex-config/comment_5_ba800043af8cc44db2a57911cfb6738f._comment diff --git a/doc/git-annex-config/comment_5_ba800043af8cc44db2a57911cfb6738f._comment b/doc/git-annex-config/comment_5_ba800043af8cc44db2a57911cfb6738f._comment new file mode 100644 index 0000000000..99580f8b0a --- /dev/null +++ b/doc/git-annex-config/comment_5_ba800043af8cc44db2a57911cfb6738f._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="Spencer" + avatar="http://cdn.libravatar.org/avatar/2e0829f36a68480155e09d0883794a55" + subject="[FR] Remote Settings for All Clones" + date="2024-10-09T23:10:17Z" + content=""" +I'd like to set a few additional configurations so that all clones treat a special remote similarly. + +Particularly I'd like to set the trustlevel and tracking-branch for an exporttree special remote so that any clone that enables this remote also have these configurations enabled. +In particular this is justified for a certain remote of mine because it exports to a version controlled environment that I trust, so it would just be nice not to have to run `git config remote.name.annex-tracking-branch` and `git annex trust name semitrusted` for every clone. + +Of course, are `git annex config --set remote.name.annex-trustlevel \"semitrusted\"` and `git annex config --set remote.name.annex-tracking-branch \"main\"` (called once) any easier than the above called multiple times? Maybe not, but it would be slightly less mental overhead to not do the above. + +Off hand can you imagine any caveats that would preclude adding these settings to the list of supported for this command? I agree that only some make sense for all clones to see rather than anything one can set in git config but of course that specification requires manual addition of config cases that do make sense. Maybe this is one of them. +"""]] -- 2.30.2