(→Getting started) |
(→gitorious.org) |
||
| Line 12: | Line 12: | ||
* On your user page, (that's at http://gitorious.org/~your_nick) click on "Manage SSH keys" and add your SSH key. | * On your user page, (that's at http://gitorious.org/~your_nick) click on "Manage SSH keys" and add your SSH key. | ||
* Again from the user page, click on "Manage aliases" and add any email addresses you've ever used in KDE SVN. This way any commits you've made in the past are tracked back to you. If your gitorious email address is the only one you ever used, then this step isn't needed. | * Again from the user page, click on "Manage aliases" and add any email addresses you've ever used in KDE SVN. This way any commits you've made in the past are tracked back to you. If your gitorious email address is the only one you ever used, then this step isn't needed. | ||
| − | * Request one of the kde-developers admins to add you to the group. This will give you push rights to Amarok. Lydia, Ian and Jeff are all admins. | + | * Request one of the kde-developers admins to add you to the group (the same rules apply as KDE SVN account requests). This will give you push rights to Amarok. Lydia, Ian and Jeff are all admins. |
| + | |||
===Setup Amarok Clone=== | ===Setup Amarok Clone=== | ||
Contents |
The Git Parable: Background information that will help you understand git and distributed revision control systems in general
Git to SVN crash course 5 minute introduction to git for experienced SVN users
Gitorious has one address for cloning, and another for pushing. The pushing address can be used for cloning, so the easy thing to do is just use that.
git clone git@gitorious.org:amarok/amarok.git
This will create a directory 'amarok'. cd into that and start developing!
So what you will do 90% of the time:
git pull #update to latest code #edit code, build, it works! git status #to check if you want to commit all the modified files git commit -a #the -a option commits all modified files. use git add to select them individualy git push
- gitorious tarballs - svn snapshots
For members of the kde-developers group on gitorious only rule 1 is relevant. Outside contributers need to comply with 2 & 3 to be able to do a request pull.