Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
developers:adding_new_developers [2022/05/27 13:02] – [Adding new developer to git] gitweb permissions svanheuledevelopers:adding_new_developers [2022/05/27 13:06] – Refer to other wiki page for gitotile/gitweb setup svanheule
Line 20: Line 20:
 ===== Adding new developer to git ===== ===== Adding new developer to git =====
  
-Add the developers public SSH key to gitolite under the desired username. +Add the developers public SSH key to gitolite under the desired username. The developer can then continue to set up their [[:docs:guide-developer:source-code:start#staging_trees|staging repository]].
- +
-<code bash> +
-Create new staging repository for USERNAME +
-git remote add staging git@git.openwrt.org:openwrt/staging/USERNAME.git +
- +
-# Set up permissions to allow gitweb to read the repository +
-ssh git@git.openwrt.org perms openwrt/staging/USERNAME + READERS gitweb +
- +
-# Adding branches can be done as usual with git. +
-# 'master' will be used for the default commit log on gitweb +
-git push staging LOCAL:REMOTE +
- +
-# Deleting branches +
-git push staging :REMOTE +
- +
-# More help available with +
-ssh git@git.openwrt.org help +
-</code>+
  
 ===== Adding new developer to wiki ===== ===== Adding new developer to wiki =====
  • Last modified: 2022/07/07 15:29
  • by tmomas