«Git push» не удалось: «Вы не указали никаких refspecs для push»

Я настроил проект git на ProjectLocker, чтобы перенести мои файлы git в. Затем я вошел в каталог, где я инициализировал git-проект и поставил свои файлы. И, наконец, я попытался отправить проект в Projectlocker с помощью этой команды:

$ git push [email protected]:helloworld.git

Это генерирует эту ошибку:

warning: You did not specify any refspecs to push, and the current remote
warning: has not configured any push refspecs. The default action in this
warning: case is to push all matching refspecs, that is, all branches
warning: that exist both locally and remotely will be updated.  This may
warning: not necessarily be what you want to happen.
warning:
warning: You can specify what action you want to take in this case, and
warning: avoid seeing this message again, by configuring 'push.default' to:
warning:   'nothing'  : Do not push anything
warning:   'matching' : Push all matching branches (default)
warning:   'tracking' : Push the current branch to whatever it is tracking
warning:   'current'  : Push the current branch
ERROR:gitosis.serve.main:Repository read access denied
fatal: The remote end hung up unexpectedly

Что-то не так с попыткой протолкнуть этот путь?

я нашелпример кто-то использует этот синтаксис:

git remote add myproject '[email protected]:myproj.git'
git push myproject +master:master 

Нужно ли использовать?remote add"- почему я не могу нажать прямо на URL, как я делал выше?

Ответы на вопрос(4)

Ваш ответ на вопрос