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

Deleting branches

From
Jjhapk <pradeep.kumar.jha@gmail.com>
Date
Mar 26, 2010, 14:41 UTC
Message-ID
<1269614480145-4804268.post@n2.nabble.com>
Hi,
I wanted to see the all the branches of a remote repository and so in my
.git/config file I had something like
[remote "jeff"]
        url = /nfs/kris/d1/people/jeff/cffc
        fetch = +refs/heads/*:refs/remotes/jeff/*
But then I decided that I only need to see one particular_branch and I
changed it to
[remote "jeff"]
        url = /nfs/kris/d1/people/jeff/cffc
        fetch =
+refs/heads/particular_branch:refs/remotes/jeff/particular_branch
But even now, when I do a $git branch -a, I see this
[pradeep@scaramanga cffc]$ git branch -a
  jeff
  master
* work
  jeff/local
  jeff/master
  jeff/particular_branch
  origin/HEAD
  origin/master
  origin/work

Why am I still getting the other jeff branches in my list and how do I delete them? THanks

-- 
View this message in context: http://n2.nabble.com/Deleting-branches-tp4804268p4804268.html
Sent from the git mailing list archive at Nabble.com.
Next: Michael J Gruber
Message 1 of 2 in “Deleting branches”
  1. jhapkMar 26, 2010
  2. Michael J GruberMar 26, 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.