forum/Rename local repository for git-annex-infogit-annexhttp://git-annex.branchable.com/forum/Rename_local_repository_for_git-annex-info/git-annexikiwiki2021-03-02T22:09:45Zcomment 1http://git-annex.branchable.com/forum/Rename_local_repository_for_git-annex-info/comment_1_6df9b666f7d948b9e03b2ecf9858f6c5/joey2017-12-05T17:35:25Z2017-12-05T17:32:58Z
<p>That's not the name of the repository, it's a description of the
repository.</p>
<p>You can use <code>git annex describe</code> to adjust the description of that
or any repository. This will affect all clones of the repository
once the description change is synced out to them.</p>
how to rename/remove the [here] ??http://git-annex.branchable.com/forum/Rename_local_repository_for_git-annex-info/comment_2_a13ef241d6d24b4abee3eedff18032a8/jodumont2021-03-02T22:09:45Z2021-02-19T04:56:46Z
<p>I'm able to change the description of my repo but not the name, which is by default and in that case <strong>[here]</strong></p>
<blockquote><p>user@machine:/srv/data$ git-annex info<br />
trusted repositories: 0<br />
semitrusted repositories: 3<br />
00000000-0000-0000-0000-000000000001 -- web<br />
00000000-0000-0000-0000-000000000002 -- bittorrent<br />
xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxxx -- sub.domain.tld:/srv/data <strong>[here]</strong><br />
untrusted repositories: xxx<br />
transfers in progress: xxxx<br />
available local disk space: 2.03 petabytes (+1 gigabyte reserved)</p></blockquote>
<h2>How I could edit the name and/or name it properly when I init it ?</h2>
comment 3http://git-annex.branchable.com/forum/Rename_local_repository_for_git-annex-info/comment_3_c75652b23bc4554d43593d1984c9c5d9/Lukey2021-03-02T22:09:45Z2021-02-19T07:28:12Z
AFAIK, the <code>[here]</code> can't be changed, it just means "it is this local repository". Now, if you add another repository as a git remote, then it'll show <code><description>[<name of git remote>]</code> for the git remote.
comment 4http://git-annex.branchable.com/forum/Rename_local_repository_for_git-annex-info/comment_4_695a821eee66f8c4d4e22518edd15c40/joey2021-03-02T22:09:45Z2021-02-22T16:30:37Z
<p>Yes, "here" is hardcoded. It could be made configurable in the git config,
if there's actually a good reason to want to.</p>