Re: How to remove remote branch with git?
- From: "Jaap A. Haitsma" <jaap haitsma org>
- To: Frederic Peters <fpeters gnome org>
- Cc: desktop-devel-list gnome org
- Subject: Re: How to remove remote branch with git?
- Date: Sat, 18 Apr 2009 23:55:49 +0200
On Sat, Apr 18, 2009 at 22:28, Frederic Peters <fpeters gnome org> wrote:
> Jaap A. Haitsma wrote:
>
>> I just did my first commit with git (Yay!!). However I first made a
>> mistake and made a new remote branch called jaap in the cheese
>> project.
>> I now want to remove that branch because it was a mistake. How do I do this?
>> What I read from the web I need to do the following
>>
>> git push ssh://jhaitsma git gnome org/git/cheese origin :jaap
>
> What about "git push origin :jaap" ?
>
This works when I have a clone of
ssh://jhaitsma git gnome org/git/cheese . So now I removed it :-)
However I had a checkout of jhbuild which does public clones. Is there
a way to do it when you have a public clone
Thanks
Jaap
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]