User-contrib

From Yocto Project
Jump to navigationJump to search

Yocto project supports user created repositories at git.yoctoproject.org. To create a repo you must have had your public key key added to our system. Richard Purdie or Michael Halstead can add your public key if needed.

The following command will initialize an empty repository and clone it:

 git clone git@git.yoctoproject.org:user-contrib/[username]/[reponame]

If you already have a repository and want to push it for the first time you can instead add a new remote and push to it.

 git remote add yocto git@git.yoctoproject.org:user-contrib/[username]/[reponame]
 git push yocto

By default these repositories are not public displayed. In order to make your repo public contact Michael Halstead with a description. Have a look at the Layer_Publishing_Guide to see what sections of apply to your repository.