[Top][All Lists]

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

Re: rebasing topic/libposix

From: Eric Blake
Subject: Re: rebasing topic/libposix
Date: Fri, 06 May 2011 11:08:13 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 05/06/2011 11:02 AM, Gary V. Vaughan wrote:
> On Fri, May 06, 2011 at 09:07:22AM -0700, Bruce Korb wrote:
>> I have forgotten why GIT tends to hang up without telling you why:
>>> $ git push
>>> fatal: The remote end hung up unexpectedly
>> so I haven't pushed the 180 commit merge.....
> If memory serves that happens when you make a read-only checkout,
> i.e. with a git:// url or otherwise without using your savannah
> account name over ssh://, and then try to push a change back.
> There is same magic to tell git that the origin has moved to a
> new (i.e. ssh://) url if you are prepared to backup, google a bit,
> experiment a little, and swear a lot...

git remote set-url --push origin address@hidden/srv/git/gnulib.git

Or hand-edit .git/config for the same effect.

> Whenever I've done that I always `git format-patch` from the read-
> only tree, checkout out a fresh working copy, and then apply the
> stack of patches from the broken checkout.

Yeah, that works too :)

Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]