Repository Layout

Anonymous Cloning

With git, you can clone a repository anonymously via git- or http-protocol. This will give you a copy of the repository and all the history of said repository suitable for offline operation. This clone can inturn be shared with others or used to track personal changes.

To clone an rpm repository simply do:

$ git clone git://rpm.org/<repo>.git

This will create a directory in your current working directory named after <repo>. For example to clone the main rpm source repository, use

$ git clone git://rpm.org/rpm.git

Git protocol is recommended over rather inefficient http, but if you are behind a restrictive firewall, http might work better. In case of http the path is slightly different: