Re: How to remove remote branch with =?UTF-8?Q?git=3F?=



On Sat, 18 Apr 2009 23:55:49 +0200, "Jaap A. Haitsma" <jaap haitsma org>
wrote:
> 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
>

Make it point to the SSH repository: just edit .git/config with a text
editor, it should be straight-forward.

Maybe "git remote" could help as well, but editing the config file works
just fine here.

Nicolas


!DSPAM:39,49ea510e40531405241827!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]