savannah-users
[Top][All Lists]
Advanced

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

Re: [Savannah-users] Allowing non-fastforward pushes in git


From: Nik Nyby
Subject: Re: [Savannah-users] Allowing non-fastforward pushes in git
Date: Sun, 28 Jun 2015 15:54:05 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0

On 06/28/2015 03:45 PM, Bob Proulx wrote:
Hi Nik,

Nik Nyby wrote:
I tried to do a simple push (git push origin jpm) to this
branch today, and I'm getting a strange "unpacker error"
I haven't seen before:

Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 367 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
error: unpack failed: unpack-objects abnormal exit
To git://git.sv.gnu.org/librejs.git
      ^^^ Public read-only URL

That isn't the writable URL.  That is the public anonymous read-only
location.  For project members you will need/want to use the
authenticated ssh:// url.  To show the paths in your git repository:

   git remote show -n origin

Try using the ssh location.

   ssh://address@hidden/srv/git/librejs.git

You can rewrite your remote URL location on your presently cloned
repository.  This should change your origin from git:// to ssh:// on
your presently cloned repository.

   git remote set-url origin ssh://address@hidden/srv/git/librejs.git

   git remote show origin

Bob

Thanks, I should have realized I was just using the wrong url.
I was pushing from a repo on a computer I don't normally push from. It's
working now.



reply via email to

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