From: jhapk <pradeep.kumar.jha@gmail.com>
To: git@vger.kernel.org
Subject: Deleting remote branches
Date: Thu, 25 Mar 2010 21:46:55 -0800 (PST) [thread overview]
Message-ID: <1269582415273-4802262.post@n2.nabble.com> (raw)
Hi,
I had a whole bunch of branches in my local and a remote repository. I
deleted all the redundant branches to be left with only three now. So the
result of $git branch on my local repository is
[pradeep@scaramanga cffc]$ git branch
jeff
master
* work
and on the remote directory which is called 'origin' it returns
[pradeep@scaramanga CFFC.git]$ git branch
RANSmodel
* master
work
But when I type the following command on my local branch,
[pradeep@scaramanga cffc]$ git branch -a
jeff
master
* work
origin/HEAD
origin/RANSmodel
origin/bluffbody
origin/counterflow
origin/flamelet
origin/jeff
origin/master
origin/test
origin/work
I still get all these branches which I deleted in my remote 'origin'.
My .git/config file looks like this
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = /nfs/carv/d1/people/pradeep/Repositories/CFFC.git
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "jeff"]
url = /nfs/kris/d1/people/jeff/cffc
fetch = +refs/heads/pradeep:refs/remotes/jeff/pradeep
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "work"]
remote = origin
merge = refs/heads/work
[push]
default = matching
[branch "jeff"]
remote = jeff
merge = refs/heads/pradeep
Does anyone know why am I still getting branhces like origin/test when I do
$git branch -a
--
View this message in context: http://n2.nabble.com/Deleting-remote-branches-tp4802262p4802262.html
Sent from the git mailing list archive at Nabble.com.
next reply other threads:[~2010-03-26 5:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-26 5:46 jhapk [this message]
2010-03-26 6:00 ` Deleting remote branches Ramkumar Ramachandra
2010-03-26 6:09 ` jhapk
2010-03-26 6:16 ` Peter Baumann
2010-03-26 7:10 ` Johannes Sixt
2010-03-26 15:52 ` Chris Packham
-- strict thread matches above, loose matches on Subject: below --
2010-06-19 18:17 jhapk
2010-06-20 4:49 ` Jon Seymour
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=1269582415273-4802262.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).