From Fedora Project Wiki
Purpose: To create a git repo for sharing your changes with others.
$user_name = "your FAS name"
Once you have access to people and want to do some work, from your local machine:
- git clone --bare ssh://$user_name@git.fedorahosted.org/git/fedora-web.git $user_name-fedora-web.git
- scp -r $user_name-fedora-web.git to $user_name@fedorapeople.org:~/public_html
Now, on fedorapeople.org and in ~/public_html:
- ./$user_name-fedora-web.git/git-update-server-info
Make changes in your previous/regular working copy as usual (or create a working copy from your new repo, either way should work):
- git add $my_changed_files
- git commit -a -m"Case #: lorem ipsum dolar makes me smile"
- git push $user_name@fedorapeople.org:~/public_html/$user_name-fedora-web.git
You can confirm:
- git clone http://$user_name.fedorapeople.org/$user_name-fedora-web.git/ testie_2