John,<br><br>Have you made the project page on <a href="http://git.sugarlabs.org">git.sugarlabs.org</a>?<br><br>Once, the project page is established.<br><br>Navigate in terminal to your project directory and type "git init"<br>
then navigate to <font size="4">./.git/config </font><br><br><br>set the config file as follows: so git knows where to push.<br><pre>[remote "origin"]<br> url = gitorious@git.sugarlabs.org:yourproject/yourbranch.git<br>
<br><br>in the terminal issue the following two commands, update for your information on <a href="http://git.sugarlabs.org">git.sugarlabs.org</a>:<br><br>git config --global <a href="http://user.name">user.name</a> "firstname lastname"<br>
git config --global user.email "<a href="mailto:joey@joejoe.com">joey@joejoe.com</a>"<br><br></pre>Next, Navigate back to your project page in the console.<br><br>type "git add *" for all files in the directory or git add blockhead.py or whatever file you want git to begin tracking.<br>
type "git commit" this will open a text editor, make a comment about your changes here, e.g. "initial commit" <br>finally type: "git push origin master"<br><br>after initial commit you need only to do the last three steps for further commiting. <br>
<br>some good references. (and where I learned to use git):<br><a href="http://www.spheredev.org/wiki/Git_for_the_lazy">http://www.spheredev.org/wiki/Git_for_the_lazy</a><br><a href="http://wiki.sugarlabs.org/go/Activity_Team/Git_FAQ">http://wiki.sugarlabs.org/go/Activity_Team/Git_FAQ</a><br>
<br>Good luck.<br><br>- Wes<br><br><br><div class="gmail_quote">On Thu, Aug 27, 2009 at 9:53 PM, John Posner <span dir="ltr"><<a href="mailto:jjposner@optimum.net">jjposner@optimum.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">David Farning wrote:<br>
> Now that you have some code, it is time to make it public.<br>
> 1. Upload the activity to <a href="http://activities.sugarlabs.org" target="_blank">http://activities.sugarlabs.org</a> . This is<br>
> the activities library students and teachers use to grab new<br>
> activities.<br>
><br>
<br>
</div>Done. The .xo is uploaded as the activity "BlockHead", and its status is<br>
"1 In Sandbox file".<br>
> 2. Store your code in the git repository at <a href="http://git.sugarlabs.org" target="_blank">git.sugarlabs.org</a> . This<br>
> is where developer keep their code. By publicly posting it, when a<br>
> fellow developer says, 'hum that is clever' they can easily find out<br>
> how you did something or even use your code as a base for something<br>
> new and clever.<br>
><br>
<br>
Need some help here. I established a user identity and uploaded an SSH2<br>
(RSA) public key. I commited a git source tree on my Ubuntu 8.10 box,<br>
and ran this command:<br>
<br>
git push git@git.sugarlabs.org:jjposner/BlockHead.git<br>
<br>
I got both a "Password:" prompt and a "<a href="mailto:git@git.sugarlabs.org">git@git.sugarlabs.org</a>'s<br>
password:" prompt. What do I enter for a password? Or am I doing it all<br>
wrong?<br>
<br>
Tx,<br>
<font color="#888888">John<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
FourthGradeMath mailing list<br>
<a href="mailto:FourthGradeMath@lists.sugarlabs.org">FourthGradeMath@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/fourthgrademath" target="_blank">http://lists.sugarlabs.org/listinfo/fourthgrademath</a><br>
</div></div></blockquote></div><br>