Line 3: |
Line 3: |
| == Gitorious == | | == Gitorious == |
| | | |
− | Getting started with Gitorious, a web based Git service used by Sugar Labs. | + | Getting started with Gitorious, a web based Git service provided by Sugar Labs. |
| + | |
| + | You will learn to: |
| + | * create an account, which you do once, |
| + | * create and add an SSH key, which you do once or if you change system, |
| + | * create a project, a local repository, and identify yourself to git, which you do once per project, |
| + | * add source files, change existing source files, commit changes, push changes, and pull changes, which you do regularly. |
| | | |
| === Create an Account === | | === Create an Account === |
Line 92: |
Line 98: |
| | | |
| === Commit changes === | | === Commit changes === |
| + | |
| + | git add ... |
| + | git commit |
| | | |
| You should do this for every set of changes you make. | | You should do this for every set of changes you make. |
| | | |
| === Request review of changes === | | === Request review of changes === |
| + | |
| + | Before you publish changes widely, you can ask others to review your work and comment on it. |
| | | |
| git format-patch -1 | | git format-patch -1 |
Line 107: |
Line 118: |
| === Push changes === | | === Push changes === |
| | | |
− | Your changes have to be pushed from your local repository to git.sugarlabs.org so that others can see them. | + | Your changes have to be pushed from your local repository to git.sugarlabs.org so that others can see them there. |
| | | |
| git push | | git push |
| | | |
− | You should do this for every set of changes you make, when you want to synchronise with other developers or prepare for a release. | + | You must do this for every set of changes you make, when you want to synchronise with other developers or prepare for a release. |
| | | |
| === Pull changes === | | === Pull changes === |