{"thread":{"id":"6991","subject":"Strange behavior of git remote with bogus input","startedAt":"2007-02-27T13:21:58Z","lastAt":"2007-02-27T13:21:58Z","messageCount":1,"participants":["Bill Lear"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"35610","messageId":"17892.12406.691169.428572@lisa.zopyra.com","threadId":"6991","inReplyTo":null,"subject":"Strange behavior of git remote with bogus input","fromName":"Bill Lear","fromEmail":"rael@zopyra.com","sentAt":"2007-02-27T13:21:58Z","receivedAt":"2007-02-27T13:21:58Z","isPatch":false,"sender":{"key":"rael@zopyra.com","avatar":"https://gravatar.com/avatar/c4f2d2790ca3828d3b4e7dfebabf61d2fe94fd82fa49cdac2a5295dd2d46a874?d=mp&s=160"},"body":"% ls\nproject foo\n% cd project\n% git remote add ../foo joe\n% git remote\n\norigin\n\nI mis-typed the git remote and got the order wrong.  It did not give\nan error and then it seemed to add a \"ghost\" remote.\n\nMy .git/config file has:\n\n[remote \"../foo\"]\n        url = joe\n        fetch = +refs/heads/*:refs/remotes/../foo/*\n\nSoo, probably kinda goofy.\n\nNow, how do I fix this?  Just remove this entry from the .git/config\nfile?\n\n\nBill\n"}]}