[Sugar-devel] git initial commit
Art Hunkins
abhunkin at uncg.edu
Sun Mar 4 22:21:09 EST 2012
Thanks, Alan and James,
Once I created a respository I successfully made an initial commit.
Strange, however,
1) I don't recall it ever being suggested I *needed* to create a repository. I'd think "mainline.git" would be automatically set up for a new project, and be part of the project creation process.
2) Clicking on "Add a repository" (which suggested there was already a repository in existence), I tried to name the repository "mainline," but it was named instead "chimeplay.git."
I wonder whatever happened to "mainline"?
At any rate, "next time" I'll check to see if any repository exists before trying to save to one. (Go figure.)
Art Hunkins
----- Original Message -----
From: Alan Jhonn Aguiar Schwyn
To: abhunkin at uncg.edu ; sugar-devel at lists.sugarlabs.org
Sent: Sunday, March 04, 2012 6:15 PM
Subject: RE: [Sugar-devel] git initial commit
> [liveuser at localhost chimeplay.git]$ git push
> gitorious at git.sugarlabs.org:chimeplay/mainline.git master
>
> == Gitorious: ==========================================================
> Access denied or wrong repository path
> ========================================================================
>
> fatal: The remote end hung up unexpectedly
> [liveuser at localhost chimeplay.git]$
>
> ---------------------
> BTW, I get the same response when I omit "master" from the last command.
>
> What am I doing wrong please?
>
I see a problem: you create the project in http://git.sugarlabs.org/chimeplay but no a "repository"
For each project you can have some repositories..
Go tohttp://git.sugarlabs.org/chimeplay and in the right panel select: Add a repository and select
a name: for example: mainline
After.. make this in your machine if is the first time that uses GIT:
git config --global user.name 'your name'
git config --global user.email "your mail"
After, go to the master brach:
git checkout master
Add the remote of your activity: (mainline is only for example)
git remote add origin gitorious at git.sugarlabs.org:chimeplay/mainline.git
And finally:
git push origin master
Regards!
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120304/dc4bbc05/attachment.html>
More information about the Sugar-devel
mailing list