“git push” failed: “You did not specify any refspecs to push”

前端 未结 4 764
长发绾君心
长发绾君心 2021-01-15 09:06

I set up a git project on projectlocker to push my git files to. Then I went into the directory where I had initialized a git project and staged my files. And finally I trie

4条回答
  •  暖寄归人
    2021-01-15 09:39

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

提交回复
热议问题