[Sugar-devel] Setting public key - gitorious
abhunkin at uncg.edu
Thu Feb 18 22:05:23 EST 2010
I thought I got it this time. I had something to commit, but the push fails
again with a publickey error. I thought we had that fixed.
[olpc at xo-05-25-69 OurMusic.activity]$ git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# modified: csndsugui.py
# modified: ourmusic.py
no changes added to commit (use "git add" and/or "git commit -a")
[olpc at xo-05-25-69 OurMusic.activity]$ git commit -am "Fine-tune default font
displays through XO-1.5 and SoaS Blueberry"
Created commit 5b8529c: Fine-tune default font displays through XO-1.5 and
2 files changed, 22 insertions(+), 4 deletions(-)
[olpc at xo-05-25-69 OurMusic.activity]$ git push
gitorious at sugarlabs.org:our-music/mainline.git
The authenticity of host 'sugarlabs.org (126.96.36.199)' can't be established.
RSA key fingerprint is ab:1a:b1:6f:56:f2:03:02:3b:1e:aa:cf:f2:69:15:5e.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added 'sugarlabs.org,188.8.131.52' (RSA) to the list of
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Do I need to go through the ssh-keygen routine again??? (Aleksey, your
copy/paste trick with "cat" seemed to work, but ???)
----- Original Message -----
From: "Aleksey Lim" <alsroot at member.fsf.org>
To: "Art Hunkins" <abhunkin at uncg.edu>
Cc: <Sugar-devel at lists.sugarlabs.org>
Sent: Thursday, February 18, 2010 7:34 PM
Subject: Re: [Sugar-devel] Setting public key - gitorious
> On Thu, Feb 18, 2010 at 06:59:31PM -0500, Art Hunkins wrote:
>> I did the "initial commit" with these results (similar to what I got
>> [olpc at xo-05-25-69 ~]$ cd Activities/OurMusic.activity
>> [olpc at xo-05-25-69 OurMusic.activity]$ git remote add origin
>> gitorious at git.sugarlabs.org:our-music/mainline.git
>> [olpc at xo-05-25-69 OurMusic.activity]$ git push origin master
>> error: src refspec master does not match any.
>> fatal: The remote end hung up unexpectedly
>> error: failed to push some refs to
>> 'gitorious at git.sugarlabs.org:our-music/mainline.git'
>> Is the problem perhaps that this is not an "initial commit"?
> yeah, I missed your "git init" command, most likely "src refspec master
> does not match any" says that you don't have any commits in your local
> And since there is already commits in remore repo, you need to
> git pull gitorious at git.sugarlabs.org:<your-slug-here>/mainline.git
> to create new local repo, then copy&paste all files you changed since
> last remote commit and follow regular git worklows
> (`git (add|commit|push)`)
> btw, git will be much cleaner if you undestand how it works under the
> hood, http://www.eecs.harvard.edu/~cduan/technical/git
>> I think I've
>> studied all available sugarlabs materials about git; unfortunately, Linux
>> terminology is still largely a foreign language to me, and I often don't
>> understand what's being said. (Sorry to be so unenlightened.)
>> Art Hunkins
>> ----- Original Message -----
>> From: "Aleksey Lim" <alsroot at member.fsf.org>
>> To: "Art Hunkins" <abhunkin at uncg.edu>
>> Cc: <Sugar-devel at lists.sugarlabs.org>
>> Sent: Thursday, February 18, 2010 6:18 PM
>> Subject: Re: [Sugar-devel] Setting public key - gitorious
>> > On Thu, Feb 18, 2010 at 04:16:13PM -0500, Art Hunkins wrote:
>> >> Due to wonderful help from Aleksey, Bernie and Gary, I've been able to
>> >> both
>> >> login to my gitorious account and add a valid ssh key. Thanks so much,
>> >> guys.
>> >> Now all I need to do is to push updates of my projects there (here's
>> >> where
>> >> I'm now hung up).
>> > You can follow http://wiki.sugarlabs.org/go/Activity_Team/Git tutorials
>> > and
>> > http://wiki.sugarlabs.org/go/Activity_Team/Git_Tutorial#Push_project
>> > in particular push your initial commit
>> > --
>> > Aleksey
More information about the Sugar-devel