User-contrib: Difference between revisions

From Yocto Project
Jump to navigationJump to search
(Created page with "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 Ha...")
 
m (Add remote directions for people who already have work in progress.)
 
Line 4: Line 4:


   git clone git@git.yoctoproject.org:user-contrib/[username]/[reponame]
   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.
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.

Latest revision as of 18:22, 11 October 2012

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.