I'm trying to add access to read, write and create new repos from my local to a gitolite server. I have the following config on my gitolite server, but it doesn't want to let me push to a new repo:
repo @all RW+ = git repo gitolite-admin RW+ = git repo testing RW+ = @all R = gitweb
I created the repo on my local, and did
remote add origin [email protected]:myreponame.git
The error that I get is
W access for myreponame DENIED to git (Or there may be no repository at the given path. Did you spell it correctly?) fatal: Could not read from remote repository.
myreponame.git doesn't exist on the server currently, but I'd like to be able to add it automatically just by using the remote add origin command.
Is that possible, and if so, how do I configure that?