[ACCEPTED]-git push" failed: "You did not specify any refspecs to push-git-push

Accepted answer
Score: 15

This is the real error. You don't have read 5 access to the repository?

ERROR:gitosis.serve.main:Repository read access denied

The rest are just 4 warnings. If you want to get rid of the 3 warnings, do this:

git push git-smichaels@free5.projectlocker.com:helloworld.git [branchname]

If you want Git to push 2 the current branch when [branchname] is 1 not specified without warning, do this:

git config push.default current
Score: 2

Your real problem was buried in the warning 2 message

ERROR:gitosis.serve.main:Repository read access denied

Make sure that you have the ability 1 to access the repository

Score: 0

I'm with ProjectLocker. You can file a 4 ticket in ProjectLocker Portal and we can 3 look at your project and make sure there's 2 not an issue on our end preventing you from 1 accessing your repository.

Score: 0

Also, make sure to add yourself to the project 13 from within your ProjectLocker account itself. Do 12 this by clicking on "List Account Users" in 11 the left pane, check that you are listed 10 as one of the users (probably as admin?), and 9 then click on "List Projects", select the 8 project name (NOT the Edit link), and under 7 the heading "Users in Project" you should 6 see yourself listed. If you're not there, add 5 your userid to the particular project you 4 are trying to sync with, otherwise ... no 3 go. Incidentally, this is also how you 2 control who else has access to the project, i.e. read 1 / write permissions.

More Related questions