[Sugar-devel] initial commit to git?

Art Hunkins abhunkin at uncg.edu
Fri Jun 4 22:31:34 EDT 2010


I am still having trouble (after following your suggestions as best I know 
how), and have copied my complete console output below. Obviously my local 
repository and git are not communicating properly. I note that to my 
knowledge, ssh keys are installed properly, as illustrated by the fact that 
I've had no trouble updating [with new versions] my older two activities.

The output:

[liveuser at localhost SMMClone.activity]$ git add .
[liveuser at localhost SMMClone.activity]$ git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
#   (use "git rm --cached <file>..." to unstage)
#
# new file:   MANIFEST
# new file:   MoonMusic.csd
# new file:   SunMusic.csd
# new file:   activity/activity-sunmoonmusic.svg
# new file:   activity/activity.info
# new file:   csndsugui.py
# new file:   setup.py
# new file:   sunmoonmusic.py
#
[liveuser at localhost SMMClone.activity]$ git commit -a -m"Initial commit"
[master (root-commit) 22b48a2] Initial commit
 8 files changed, 1185 insertions(+), 0 deletions(-)
 create mode 100755 MANIFEST
 create mode 100755 MoonMusic.csd
 create mode 100755 SunMusic.csd
 create mode 100755 activity/activity-sunmoonmusic.svg
 create mode 100755 activity/activity.info
 create mode 100755 csndsugui.py
 create mode 100755 setup.py
 create mode 100755 sunmoonmusic.py
[liveuser at localhost SMMClone.activity]$ git remote add origin
usage: git remote add [<options>] <name> <url>

    -f, --fetch           fetch the remote branches
    -t, --track <branch>  branch(es) to track
    -m, --master <branch>
                          master branch
    --mirror              no separate remotes

[liveuser at localhost SMMClone.activity]$ 
ssh://gitorious@git.sugarlabs.org/sun-moon-music/mainline.git
bash: ssh://gitorious@git.sugarlabs.org/sun-moon-music/mainline.git: No such 
file or directory
[liveuser at localhost SMMClone.activity]$ git push origin master
fatal: 'origin' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
[liveuser at localhost SMMClone.activity]$


Thanks for any further help/suggestions.

Art Hunkins
----- Original Message ----- 
From: "Luke Faraone" <luke at faraone.cc>
To: "Art Hunkins" <abhunkin at uncg.edu>
Cc: <sugar-devel at lists.sugarlabs.org>
Sent: Friday, June 04, 2010 4:15 PM
Subject: Re: [Sugar-devel] initial commit to git?


> On Fri, Jun 4, 2010 at 14:43, Art Hunkins <abhunkin at uncg.edu> wrote:
>> What did I do wrong or leave out?
>
> Try:
> git remote add origin
> ssh://gitorious@git.sugarlabs.org/sun-moon-music/mainline.git
> git push origin master
>
>
>
> -- 
> Luke Faraone
> http://luke.faraone.cc 



More information about the Sugar-devel mailing list