Development using git:Cgit
Create a repository
Create a directory on your local computer or somewhere you have access.
init git and create a first commit
Create a bare repo
Clone it to a bare repo
Set the description
Set the section and your name for cgit.
Upload to git.alpinelinux.org
Copy the content to your the ~/cgit directory on git.alpinelinux.org.
We no longer need the local aports.git directory.
Now ping ncopa or somebody else on IRC in #alpine-devel with the corresponding permissions to create symlinks on git.alpinelinux.org and your repository will show up. Once the symlink is created all further repositories will be published on git.alpinelinux.org.
Add your personal repository
So far git does not know anything about about your repositories.
Add upstream source to merge with
If the project you uploaded is a clone of an existing repository (aports for example), add the original source as a git remote repository ("upstream" can be whatever name you want to assign to the remote repository):
Then, to synchronize your local copy with upstream then push your changes (might need to fix merge conflicts if/when they happen):