From: Michael J Gruber <git@drmicha•warpmail.net>
To: jhapk <pradeep.kumar.jha@gmail•com>
Cc: git@vger•kernel.org
Subject: Re: Deleting branches
Date: Fri, 26 Mar 2010 16:12:11 +0100 [thread overview]
Message-ID: <4BACCECB.9040905@drmicha.warpmail.net> (raw)
In-Reply-To: <1269614480145-4804268.post@n2.nabble.com>
jhapk venit, vidit, dixit 26.03.2010 15:41:
>
> 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
Because the config determines what is fetched, it does not delete
existing refs.
> and how do I
> delete them?
> THanks
git branch -Dr jeff/other_branch
Cheers,
Michael
prev parent reply other threads:[~2010-03-26 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 14:41 Deleting branches jhapk
2010-03-26 15:12 ` Michael J Gruber [this message]
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=4BACCECB.9040905@drmicha.warpmail.net \
--to=git@drmicha$(echo .)warpmail.net \
--cc=git@vger$(echo .)kernel.org \
--cc=pradeep.kumar.jha@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox