git - Write Access for user on all repos on Gitolite -


i'm trying add access read, write , create new repos local gitolite server. have following config on gitolite server, doesn't want let me push new repo:

repo    @all     rw+     =   git  repo    gitolite-admin     rw+     =   git  repo    testing     rw+     =   @all     r       =   gitweb 

i created repo on local, , did

remote add origin git@myserver:myreponame.git 

the error is

w access myreponame denied git (or there may no repository @ given path. did spell correctly?) fatal: not read remote repository. 

myreponame.git doesn't exist on server currently, i'd able add automatically using remote add origin command.

is possible, , if so, how configure that?

myreponame.git doesn't exist on server currently, i'd able add automatically using remote add origin command.

that not how add new repo gitolite.

you need modify conf/gitolite.conf file of gitolite-admin repo, in order add repo myreponame section, access rule (even though access covered first repo @all section).
add, commit , push gitolite-admin, which trigger creation of repo myreponame.

see section 2.2.3 add, remove, , rename repos

the git remote add origin purely local repo , wouldn't have effect gitolite , git hosting server.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -