Skip to contentSkip to conversation

Deleting branches in main repository

DISCUSSION Ulf Samuelsson 3 participants 4 messages Mar 16, 2009 – Mar 17, 2009

lore
Share & tools
lore
#0 lore raw

Still learning about git, and I managed to create one branch by mistake
origin/local
There is also an obsolete branch which I want to remove
origin/ulf/atmel

Only want to keep the following.
origin/ulf/linux

How can I clean up?

tried
git push origin :origin/local
and
git push origin :local
but this does not work

BR
Ulf Samuelsson

#2 lore raw
Quoted 3 lines

I removed both branches for you.

Thank You.
Sorry to bother !

Quoted 5 lines
Signature · 4 lines
:M:


_______________________________________________

Best Regards
Ulf Samuelsson

#3 lore raw
In reply to Ulf Samuelsson

Hello.

Quoted 9 lines · Ulf Samuelsson

Still learning about git, and I managed to create one branch by mistake
origin/local
There is also an obsolete branch which I want to remove
origin/ulf/atmel

Only want to keep the following.
origin/ulf/linux

How can I clean up?

You can't from your normal account. There is a commit hook that forbids deleting of branches. Our admin people are able to do this. And it seems mickey already did ot for you.

regards
Stefan Schmidt