git add BattleEngine.py
git commit
Comments were added in the commit command to include committer name and a description.
git log
The log shows these changes, but no code is uploaded yet.
But then we couldn't figure out how to push the code.
I had to use the tutorial here to set up a key because using git push kept telling me the The git:// url is read-only. Please see http://git.sugarlabs.org//
I don't know if the key was necessary because after I logged into git.sugarlabs.org (and Jon had added me as a committer), I noticed the project-xavier page for Fortune Hunter had more options for the clone & push urls. But this was only after I started setting up the key so I added one anyway.
I also did a git pull in the current directory with the new url:
git pull gitorious@git.sugarlabs.org:project-xavier/mainline.git master
I finally got it uploaded by using git push:
git push gitorious@git.sugarlabs.org:project-xavier/mainline.git master
Now everything is up on the main page, with details available.
Their diff of the old file and the one I uploaded shows some straggler code, thankfully commented out, that may accidentally have been added while trying to find a fix. Oops. I was pretty sure I'd re-cloned the files from git in a new directory and edited in our fix. This definitely needs to be addressed, but can wait since it is commented out and the program runs correctly (no scan bug now).
No comments:
Post a Comment