git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Deleting remote branches

From
Jjhapk <pradeep.kumar.jha@gmail.com>
Date
Jun 19, 2010, 18:17 UTC
Message-ID
<1276971471250-5199192.post@n2.nabble.com>
Hi,

I added a remote called PCM to my repository. So when I do a $git branch -a

It shows me all the branches of the remote. I decided I don't want the remote anymore, so I deleted it from my .git/config file and did $git remote update

The first command verified that PCM is not a remote anymore, but still when I do a $git branch -a, I see all the branches of PCM.

How do I get rid of it?
Thanks
 
-- 
View this message in context: http://git.661346.n2.nabble.com/Deleting-remote-branches-tp5199192p5199192.html
Sent from the git mailing list archive at Nabble.com.
Next: Jon Seymour
Message 1 of 2 in “Deleting remote branches”
  1. jhapkJun 19, 2010
  2. Jon SeymourJun 20, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.