All of lore.kernel.org
 help / color / mirror / Atom feed
From: jhapk <pradeep.kumar.jha@gmail.com>
To: git@vger.kernel.org
Subject: Deleting branches
Date: Fri, 26 Mar 2010 06:41:20 -0800 (PST)	[thread overview]
Message-ID: <1269614480145-4804268.post@n2.nabble.com> (raw)


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.

             reply	other threads:[~2010-03-26 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 14:41 jhapk [this message]
2010-03-26 15:12 ` Deleting branches Michael J Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1269614480145-4804268.post@n2.nabble.com \
    --to=pradeep.kumar.jha@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.