forum/How to delete a remote?git-annexhttp://git-annex.branchable.com/forum/How_to_delete_a_remote__63__/git-annexikiwiki2017-05-09T18:06:25ZYou can set the trust to "dead"http://git-annex.branchable.com/forum/How_to_delete_a_remote__63__/comment_1_8cba186bb67079ff41bf6d0b04613f4a/Marco2013-11-27T22:47:37Z2013-01-23T19:02:22Z
<p>Simple answer: You can't fully delete a remote - with annex commands. You can mark it as dead.</p>
<p>You can give this a try as a workaround: <a href="http://git-annex.branchable.com/forum/Truly_purging_dead_repositories/#comment-51ab797094f4c07bf5327fd21cad5835">Truly purging dead repositories</a></p>
comment 2http://git-annex.branchable.com/forum/How_to_delete_a_remote__63__/comment_2_33c429ffa7e9e2ed9c5fac760ee8e82c/joeyh.name2013-11-27T22:47:37Z2013-09-04T06:43:26Z
<p>Recently git-annex has gotten the ability to do this: <code>git annex forget --drop-dead</code></p>
<p>That prunes all history relating to all dead remotes. You need to be running a git-annex that supports this on all computers you use the repos on, or the pruned history will get merged back in.</p>
<p>I don't recommend doing this just because you want to "clean history". Think of it as something you can do at some point in the future if the .git/objects somehow gets too large or too slow. Put off deleting data until tomorrow if you don't absolutely need to do it today.</p>
Dropping dead repositorieshttp://git-annex.branchable.com/forum/How_to_delete_a_remote__63__/comment_3_e9c5508092ca2983f458b16bf1e07082/konubinix2013-11-27T22:47:37Z2013-09-04T07:40:22Z
<p>Actually, it may be a good idea to remove repositories made for tests purposes.</p>
<p>I now have 2 dead repositories that are USB_test1 and USB_test2 that I created before knowing I could reuse the annex uuid.</p>
<p>They are now there and it is difficult to remove them.</p>
<p>For that special case, the --drop-dead feature is very welcome.</p>
Deleting a repository UUID from vicfghttp://git-annex.branchable.com/forum/How_to_delete_a_remote__63__/comment_4_688a8473d074830303133ba939438084/Cyberthal2017-05-03T16:50:53Z2017-05-03T16:50:53Z
<p>I followed these instructions, but a single entry for the targeted UUID persists in vicfg.</p>
<p>For those of us with OCD, this is mildly irksome. Later I might have dead UUID's I actually want to remember, and that bit of spam will always be sitting there at the top of the file.</p>
<p>However, deleting it is still worthwhile, because otherwise it is repeated in every list of remotes.</p>
comment 5http://git-annex.branchable.com/forum/How_to_delete_a_remote__63__/comment_5_de7dff2dc4357d8cc617d86a06e35b1b/joey2017-05-09T18:06:25Z2017-05-09T18:03:54Z
<p>It may help suppress the OCD to consider that vicfg is listing dead
remotes to give you the option to make them not dead anymore.</p>