From: Brian Gernhardt Date: Sun, 28 Jun 2009 14:47:23 GMT Subject: git remote rm non-existant-remote Message-ID: <540FF00B-9DE7-4C89-9EC3-264B5BDD9CDE@silverinsanity.com> I was working on updating the remotes for one of my repositories (adding a variety of forks) and renamed the origin branch. When I was done, I tried to use "git remote rm origin" to remove the branches for the now dead origin. What git-remote did was remove all of my remotes and the merge information for my master branch (which was moved off the origin remote). This is a data loss bug. Very bad. `git remote rm` should either refuse to remove a non-existent remote or (preferably) simply remove any branches that exist for that remote. When time allows I'll look into fixing this, but I thought I'd post in case somebody had more tuits than me this week. ~~ Brian Gernhardt